Skip to content

Discord bot to notify if vaccination slots (18-45) are available for a specific PIN

License

Notifications You must be signed in to change notification settings

mohitvirli/vaccine-slots-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vaccine-slots-discord-bot 👀

Add a bot to know if the covid vaccination slots are available for 18+ with simple commands like -vaccine 560103 or -vaccine karnataka udupi. I hope this helps in these dire times.

  • If you are brand new to creating discord bot refer this Sitepoint tutorial
  • If you do know how to create a bot you would just need the discord server credentials.

Requirements

Installation Steps

  1. Clone repo git clone https://github.com/mohitvirli/vaccine-slots-discord-bot.git
  2. Run npm install
  3. Add Discord credentials in a .env file. Set INTERVAL for polling as well.
         #.env file
         TOKEN=AUTH_TOKEN_FROM_DISCORD
         INTERVAL=10000
  4. Run node index.js (Need to run this for the time you need polling for)
  5. Go to your discord channel to test the bot.

Usage

Use the -vaccine message in the channel you want to recieve the notification in.

Normal usage -vaccine [clear] | [pincode] | [state district]

  • -vaccine
  • -vaccine 560103 or -vaccine karnataka bbmp or -vaccine rajasthan jaipur
  • If anything's found (good luck) like -vaccine 560034
  • Clear the polling if you do not want to. -vaccine clear 560103 or -vaccine clear karnataka bangalore urban
    image

Future Notes

Idk what the future holds, let me know if you need any help with setting this up or any new feature that you need etc.

Thanks.

About

Discord bot to notify if vaccination slots (18-45) are available for a specific PIN

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published