This is an informational bot created using Discord.JS on Node.JS platform. You can view total number of cases, active cases, recoveries, deaths from any country you want! This bot is deployed using Heroku.
As we need discord commands to interact with any bot, this bot has two commands as below:
- $covid_help : Gives you necessary details about this bot.
- $covid <country_name> : Type the country name after $covid command to get data for any country.
To add this bot to your server, you need to create a bot on Discord and add it your server. Copy the bot token and paste it in the .env file variable DISCORDJS_BOT_TOKEN.
Make sure that you have Node.js installed on your system. Download the Git repository and run following commands:
- npm install : To install necessary node packages.
- npm run start : To fire up the bot locally.
That's it! Now you can modify the bot as required and play around with it!