Skip to content

nimishsrivastav/covid-19-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COVID-19 DISCORD BOT

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.

How to use it?

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.

Adding the bot to your discord server

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.

Development in this bot

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published