Skip to content

A really simple bot to display current conditions for a specific location.

License

Notifications You must be signed in to change notification settings

AlexandreCollet/AccuWeather-DiscordBot

Repository files navigation

AccuWeather-DiscordBot

A really simple bot to display current conditions for a specific location.

accuweather_discordbot

Usage

Commands for this bot follow this structure: @AccuWeatherBotName command [argument].

Command Description
@AccuWeatherBotName current_conditions [location_key] Display current conditions for a specific location.

Installation

With Docker

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

Manually

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

Configuration

  • DISCORD_TOKEN: Secret token of your discord bot application
  • ACCUWEATHER_API_KEY: Your personal AccuWeather API Key
  • (optional) LANGUAGE: String indicating the language in which to return the messages. The complete list here.

About

A really simple bot to display current conditions for a specific location.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages