Discord bot that returns covid-19 satistics on a command.
The setup of this bot is simple. Go and download python 3.7, once the download has completed run the installer, make sure you click "Add To Path". This will allow you to use pip
. Install the requirements.txt with pip. pip install -r requirements.txt
- Things to edit:
- Edit
line 5
with your custom prefix, the default one is.
, so to use the bot you would do.help
. - The most import thing to edit the the token variable, which is on
line 9
.
- Edit
After this you have set the bot up. Simply run python bot.py
and this will bring the bot online.
Now the way I told you to run the bot will rely on your computer being online, however there is a great server called Heroku that you can run the bot on. Here is a video you can watch to understand how to push the bot and get it running on the service.