#Need help in normal discord chatbot for my assignment
8 messages · Page 1 of 1 (latest)
ok
nvm i fixed it is
need like this
Also, I'm not sure, but I don't think the format of the URL in the get_environment_data function is correct. (Could be me misreading the documentation or using a different API version).
As far as I know, to use a city name (I'm presuming), I think it should be
{WEATHER_API_URL}/weather?q={location}. Note, this is deprecated
i see
Just be careful if this is public facing, because you could inject query parameters into the URL, though this won't do much