A Discord bot that asks the user for their location (state name and district name), age and preferred date and shows the vaccine slots available for that particular date.It also checks for slot availability each hour and can notify the user when a slot is available. The bot can be used both in DM and in server. The user has to have at least one common server with the bot. For this, users can either add the bot to their server or join our VaccineKaro server, which has been created exclusively for this purpose. For users with settings that don't allow direct messages from other server members, the bot will create a private channel in the common server and send the notifications there. Thus if you are adding the bot to your server, the bot must be given permissions to create channels in the server.
- Navaneeth Manoj [https://github.com/navaneethmanoj]
- Akshay Vinod [https://github.com/akshay-vinod]
- Midhun Chandran [https://github.com/Midhun529]
BFH/recQKRh3Wwz7nWhl4/2021
- Add the bot to your server or join the VaccineKaro Server
- Start the bot by typing the command
$start
Library | Version |
---|---|
axios | ^0.21.1 |
dayjs | ^1.10.4 |
discord.js | ^12.5.3 |
dotenv | ^9.0.2 |
mongoose | ^5.12.10 |
node-cron | ^3.0.0 |
-
Clone the Repo
-
Run
npm install
inside the repo -
Create your bot here and copy bot token
-
Copy database connection string
-
Create a .env file and place your bot token and database connection string like this
DISCORD_BOT_TOKEN=XXXXXXXXXX
DATABASE=xxxxxxxx
npm run dev