Skip to content
arifali123Public

About

For this video https://youtu.be/0O6HeWPfOXU

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Covid-19 Tracking Discord Bot

How To Use

  1. Clone this repo and install dependencies npm install
  2. Create .env file or open Environment Variables
  3. Make a BOT_TOKEN key and set your token as the value
  4. Make a BOT_OWNER key and set your user id as the value
  5. Make a BOT_PREFIX key and set your prefix as the value
  6. npm start

Commands

  1. !global
  2. !state (US state)
  3. !states (metric)
    • Video Where I made Command
    • Provide metric to sort by(list below)
    • Gets data for all states and sorts by metric specified (greatest->least)
    • States Command

Valid Arguments

  1. Valid Metrics For Command 3
    const metrics: string[]=["cases","deaths","active","recovered","tests","population"]```
  2. Valid Metrics For Command 2
    export const states: string[] = [
      "California",
      "Texas",
      "Florida",
      "New York",
      "Illinois",
      "Ohio",
      "Georgia",
      "Pennsylvania",
      "Tennessee",
      "North Carolina",
      "Arizona",
      "Michigan",
      "Indiana",
      "New Jersey",
      "Wisconsin",
      "Missouri",
      "Minnesota",
      "Massachusetts",
      "Alabama",
      "Virginia",
      "Colorado",
      "Louisiana",
      "South Carolina",
      "Oklahoma",
      "Iowa",
      "Maryland",
      "Utah",
      "Kentucky",
      "Washington",
      "Arkansas",
      "Kansas",
      "Nevada",
      "Mississippi",
      "Connecticut",
      "Nebraska",
      "New Mexico",
      "Idaho",
      "Oregon",
      "South Dakota",
      "North Dakota",
      "West Virginia",
      "Rhode Island",
      "Montana",
      "Delaware",
      "Alaska",
      "New Hampshire",
      "Wyoming",
      "District Of Columbia",
      "Maine",
      "Hawaii",
      "Vermont",
      "Puerto Rico",
      "Guam",
      "United States Virgin Islands",
      "Northern Mariana Islands",
      "American Samoa",
      "US Military",
      "Veteran Affairs",
      "Federal Prisons",
      "Navajo Nation",
      "Grand Princess Ship",
      "Wuhan Repatriated",
      "Diamond Princess Ship",
    ];

Thanks For Checking this out and open a PR if you would like the contribute

About

For this video https://youtu.be/0O6HeWPfOXU

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages