A Python-based Discord bot running on Docker to provide weather forecast information.
- Install Docker Desktop. Alternatively, you can install the Docker Engine.
- Proceed to build the Docker image.
$ docker build -t weather-forecast-bot:latest ./
- Start a new container for the newly built image. Set the following runtime arguments:
discord_token
: a valid token provided by the Discord Developer Portal.
$ docker run weather-forecast-bot:latest --discord_token=DISCORD_TOKEN โฎ WeatherBot#0000 is now running!
(Work in progress)
Command | Description |
---|---|
!weather/country/COUNTRY_NAME |
Provides the current temperature in COUNTRY_NAME , in degrees Celsius. |
!help |
Provides information on built-in commands. |