Telegram Bot which scrapes the data from the SAMVIDHA and Sends the calculated Attendance, Biometric etc.
API_ID
- Get this from my.telegram.org.API_HASH
- Get this from my.telegram.org.BOT_TOKEN
- Get this from @BotFather.DEVELOPER_CHAT_ID
- Get this from @RawDataBotMAINTAINER_CHAT_ID
- Get this from @RawDataBotPOSTGRES_USER_ID
- Get this From @HerokuPOSTGRES_PASSWORD
- Get this From @HerokuPOSTGRES_DATABASE
- Get this From @HerokuPOSTGRES_HOST
- Get this From @HerokuPOSTGRES_PORT
- Get this From @Heroku
- Clone the repository.
git clone https://github.com/Skullkick/IARE-BOT-V5.1
- Enter the directory.
cd IARE-BOT-V5.1
- Install all requirements using pip.
pip3 install -r requirements.txt
- Run the file
python3 main.py
-
'/login {username} {password}' - Log in with your credentials.
-
'/logout' - Log out from the current session.
-
/report {your report} - Send a report to the bot developer.
-
Note: Replace {username}, {password}, and {your request} with actual values.
-
Attendance
- View your attendance details. -
PAT Attendance
- View your PAT attendance details. -
Biometric
- View your biometric details. -
Bunk
- View the number of classes you can bunk. -
Logout
- Log out from the current session. -
Saved Username
- Displays saved Username in Database and allows user to remove saved login or remove saved login and logout.
These commands are not accessable for a normal user, Only BOT_DEVELOPER and BOT_MAINTAINER can access these commands.
-
'/reply {your reply}' - Send a reply to the request by replying to it.
-
'/rshow' - Show the requests.
-
'/rclear' - Clear the requests.
-
'/lusers' - Show the list of users.
-
'/tusers' - Show the total number of users
-
'/reset' - Reset the SQllite Database
-
'/admin' - Instead of using command initiates buttons.
-
Requests
- Show all the Requests. -
Users
-Total Users(Past 24Hrs)
andList of users(Past 24Hrs)
-
DATABASE
-SQLITE3
Reset the SQlite3 database. -
DATABASE
-POSTGRES
Total users in database and reset the database.