Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

d-513/coronavirus-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THIS IS ABANDONED

The legacy branch contains the old code that scraped the coronavirus tracker to get the data. I switched to using an api because of site downtime (CSSEGISandData/COVID-19#581) and frequent changing of the layout.

CoronaVirus bot

A bot showing the latest stats of the novel coronavirus COVID-19

Running

add to your server:

https://discordapp.com/oauth2/authorize?client_id=683928960471793691&permissions=2048&scope=bot

selfhost:

git clone https://github.com/dada513/coronavirus-discord-bot.git
cd coronavirus-discord-bot
npm i
code .env
npm run devStart

Commands

cov!info - global information about the virus
cov!regioninfo - lists most infected countries
cov!regioninfo list - lists affected countries
cov!regioninfo COUNTRYNAME - info about a specific country

.env

Bot's config.

TOKEN=
AUTHOR=
DBL=

TOKEN - bot's token from discord developers
AUTHOR - bot's owner id
DBL - (optional) token for top.gg to post server count

About

A discord bot that shows spread of the novel coronavirus.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published