A bot to continue the legacy of now dead Attendance Bot
Find the bot here.
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.
See the available commands to see how to use the bot.
/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!
To run this on your own development environment, do the following steps.
- Make sure Docker and Docker Compose is installed on your machine.
- Clone the repository
git clone https://github.com/devadathanmb/attendance-bot.git
cd attendance-bot/
- Create a
.env
file in the cloned directory and setup the environment variables (see env.example for more info.) - Build and run your image using
docker compose up
It's almost the same steps as above.
git clone https://github.com/devadathanmb/attendance-bot
- Change directory into the cloned repository
cd attendance-bot
- Install the required dependencies
npm install
- Create a
.env
file and setup the environment variables (see env.example for more info.) - Run the bot using
nodemon app.js --ignore sessions.json