Weather information
This script gives information about the weather forecast of a list of chosen cities as a channels description or name. You can define multiple channels and for each channel a list of cities. The script will cycle through these list on every update.
Installation
Supported Placeholders for channel name and description
Also make sure the bot has sufficient permissions to edit the channels.
Feedback or suggestions are welcome.
==This Script was requested by Survivor1508==
This script gives information about the weather forecast of a list of chosen cities as a channels description or name. You can define multiple channels and for each channel a list of cities. The script will cycle through these list on every update.
Installation
- Move the script file to the script folder
- Create an account on https://openweathermap.org to get your own API key
- It can take up to 10 minutes to activate your new account
- Save your API key in the script settings and set up your preferences
- This is an english API so please dont use special characters, else you can get unaccurate information
Supported Placeholders for channel name and description
- %city - City Name
- %lat - City Latitude
- %lon - City Longitude
- %weather - Weather State
- %wDesc - Short Description of the Weather
- %t - Current Temperature in °C
- %tmax - Max Temperature in °C
- %tmin - Min Temperature in °C
- %p - Pressure in hPa
- %h - Humidity in %
- %wSpeed - Windspeed in m/s
Also make sure the bot has sufficient permissions to edit the channels.
Feedback or suggestions are welcome.
==This Script was requested by Survivor1508==
You set a location in the config and with the placeholders you get the specific values for the configurated location