Skip to content

JoeNibe/CowinBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CowinBot

What ?

This is discord bot written using discord.py. The bot checks the availability of vaccine in India. It used public APIs provided by CoWin portal to check the availability. The bot can run periodic checks and can alert the user once the vaccine is available.

Why ?

  1. Vaccine availability was really low and I was tired of looking at the portal all day checking the availability. Therefor I build this bot to alert me once vaccine is available.

  2. Learning to make a discord bot was on my list for sometime now and this seemed to be a great opportunity.

How ?

You need to host the bot on your own. To do this, clone the code and add the bot token to ./lib/bot/token file and you are good to go.

Help

!help

The bot a variety of functions available. These can be viewed using the !help command.

image1

!list

Most of the command require the state ID or the district ID. These can be viewed using the !list command.

image1

!list states

image1

!list dist <stateid>

image1

!check

The availability of vaccine in a district or at a pincode can be check using this command.

image1

!check pin <pin>

image1

!check dist <distid>

image1

!remind

This command can be run to keep checking vaccine availability at a pincode or in a district. You can also specify the time interval between checking.

image1

!remind pin <pincode> <seconds>

image1

!config

This command is used to set the default values for state, dist, pincode and age. Age can be set here to filter vaccine availability.

image1

!config set age 23

image1

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages