A Discord Bot that gets weather and COVID data.

Chandler Lofland bf27821b8c Merge pull request #6 from chand1012/dependabot/pip/idna-2.10 1 week ago
.github e232a65f6b edit docker builds 2 months ago
.gitignore 715675c177 changed alpine and python version 2 months ago
Dockerfile 715675c177 changed alpine and python version 2 months ago
LICENSE a0ccdf2570 Initial commit 2 months ago
README.md b06f281bb5 updated readme 2 weeks ago
bot.py ce98c01ee7 fix issue with command syntax checking 2 weeks ago
covid.py a06170803b finshed up covid search and other things 2 months ago
lib.py c5eb872873 added day lookup for weather 2 weeks ago
list_dict.py ccd37439ac sorted functions 2 months ago
mapsearch.py 3d82e1b1c3 updated imports, remove test file 2 months ago
requirements.txt 9d1e736c31 Bump idna from 2.9 to 2.10 1 week ago
strings.py c5eb872873 added day lookup for weather 2 weeks ago
topgg.py 2eb0778c11 updated topgg 1 month ago
weather.py 282ef2a16c switch back to us gov search for now 1 month ago
weatherbot-transparent.png 9531f66c5f added transparent image 2 months ago
weatherbot.png 8e044bb291 updated readme, add icon 2 months ago



Docker Image Code Commit Discord Bots Discord Bots

A Discord Bot that gets the weather and COVID-19 country statistics.

To use

  • For weather data, use the command !weather:

    • Use !weather current <location> to get the current weather forecast at that location.
    • Use !weather forecast <location> to get the forecast for the next 5 to 7 days.
    • Use !weather <day> <location> to get the weather on that upcoming day, where <day> is any weekday or weekend Sunday through Saturday.
    • Use !weatherbot counter to check what the global weather counter is at. If this exceeds 1000, the requests must be stopped until midnight the next day.
    • Examples:
      • !weather current Akron, Ohio
      • !weather current London, England
      • !weather forecast Moscow, Russia
      • !weather forecast Rhode Island
      • !weather Sunday Paris, France
      • !weather Friday New Orleans
  • For COVID-19 data, use the command !covid <country>. If you wish to look up statistics for US States, you can use the State's two letter postal code, ie. NY for New York or OH for Ohio, to look up its respective data. If no country or state is selected, the command will display global statistics.

    • Examples:
      • !covid Germany
      • !covid Japan
      • !covid USA
      • !covid
      • !covid WY

Add to Server

Click here to add the bot to your server.


If you have issues, either bugs or otherwise, you can make an issue here.

Info For Geeks