Coder Social home page Coder Social logo

akshay-vinod / cowin-discord-bot Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 158 KB

Discord Bot to check slot availability in your area and give you an hourly update on free slots.

Home Page: https://discord.gg/bQYHPV93MD

JavaScript 100.00%
bot cowin vaccine-tracker

cowin-discord-bot's Introduction

BFH Banner

VaccineKaro

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.

Team members

  1. Navaneeth Manoj [https://github.com/navaneethmanoj]
  2. Akshay Vinod [https://github.com/akshay-vinod]
  3. Midhun Chandran [https://github.com/Midhun529]

Team Id

BFH/recQKRh3Wwz7nWhl4/2021

Link to product walkthrough

video

Click here to watch

How it Works ?

  1. Add the bot to your server or join the VaccineKaro Server
  2. Start the bot by typing the command $start

Libraries used

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

How to configure

  1. Clone the Repo

  2. Run npm install inside the repo

  3. Create your bot here and copy bot token

  4. Copy database connection string

  5. Create a .env file and place your bot token and database connection string like this

    DISCORD_BOT_TOKEN=XXXXXXXXXX
    DATABASE=xxxxxxxx

How to Run

npm run dev

cowin-discord-bot's People

Contributors

akshay-vinod avatar navaneethmanoj avatar midhun529 avatar

Watchers

 avatar

Forkers

navaneethmanoj

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.