A really simple bot to display current conditions for a specific location.
Commands for this bot follow this structure: @AccuWeatherBotName command [argument]
.
Command | Description |
---|---|
@AccuWeatherBotName current_conditions [location_key] |
Display current conditions for a specific location. |
The easiest way to run this bot is through Docker with this command:
$ docker run --env DISCORD_TOKEN=*** --env ACCUWEATHER_API_KEY=*** raftorn/accuweather-discordbot
Otherwise, you can run the following commands:
$ git clone https://github.com/AlexandreCollet/AccuWeather-DiscordBot.git
$ cd AccuWeather-DiscordBot
$ pip3 install -r requirements.txt
$ vim settings.py
$ python3 main.py
DISCORD_TOKEN
: Secret token of your discord bot applicationACCUWEATHER_API_KEY
: Your personal AccuWeather API Key- (optional)
LANGUAGE
: String indicating the language in which to return the messages. The complete list here.