Giter Club home page Giter Club logo

rit-attendance-bot's Introduction

Attendance Bot

A bot to continue the legacy of now dead Attendance Bot

Find the bot here.

What does this bot do?

As said above, this bot helps you see your attendance details published in RIT Soft just with a few commands. I found that the popular atttendancebot is now not working anymore so I decided to make my own.

Previews






Bot usage

See the available commands to see how to use the bot.

Bot commands

/start - To start the bot

/login username:password - To login and create a new session.

/attendance - See attendance details.

/lastupdate - See lastupdate details.

/absent - See absent hours and details.

/present - See present hours and details.

/help - Help me!

Development

To run this on your own development environment, do the following steps.

Using Docker

  1. Make sure Docker and Docker Compose is installed on your machine.
  2. Clone the repository
git clone https://github.com/devadathanmb/attendance-bot.git
cd attendance-bot/
  1. Create a .env file in the cloned directory and setup the environment variables (see env.example for more info.)
  2. Build and run your image using
docker compose up

Without Docker

It's almost the same steps as above.

  1. Make sure node, npm, git is installed on your machine.
  2. Clone the repository.
git clone https://github.com/devadathanmb/attendance-bot
  1. Change directory into the cloned repository
cd attendance-bot
  1. Install the required dependencies
npm install
  1. Create a .env file and setup the environment variables (see env.example for more info.)
  2. Run the bot using
nodemon app.js --ignore sessions.json

Acknowledgements

rit-attendance-bot's People

Contributors

devadathanmb avatar dependabot[bot] avatar

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.