Skip to content

A script to post Quizzes, GDBs, and Assignments in Discord channel via WebHooks to alert the assignee.

License

Notifications You must be signed in to change notification settings

Anon-Exploiter/VUBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VUBot

A script to post Quizzes, GDBs, and Assignments in Discord channel via WebHooks to alert the assignee.

Features

  • Fetching Student's assigned GDBs, Quizzes and Assignments
  • From (v1.2), we get any pending challans' as well! 😄
  • Posting all that stuff in a Discord channel

How it works?

The script utilizies Web Applications source from VULMS. First it authenticates the user with his studentId and studentPassword and then creates and maintains a session. Utilizing that session, it accesses the ActivityCalendar.aspx file and gets the JSON containing the all data related to assigned stuff.

How to use?

Add the following environmental variables according to your credentials and then execute the script.

export USERNAME=bcXXXXXXXX
export PASSWORD=XXXXXXXXXXX
export WEBHOOK_URL=https://discord.com/api/webhooks/XXXXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx
python3 vu.py

Alternatively, you can hard-code the credentials in the creds.sh file, source it, and execute the script.

source creds.sh
python3 vu.py

Output