This bot attends the online classes (or meetings) held on Microsoft teams, according to the given timetable.
There are few things you need to configure before running this bot.
- Open Microsoft teams on your browser, login to your account, change the dashboard view to list view (from grid view), so that your classes are displayed in a list view.
- Open bot.py, and put your microsoft teams credentials in the CREDS dictionary.
- Example -
CREDS = {'email' : '[email protected]', 'passwd':'''mypassword'''}
- Open discord_webhook.py and put your discord webhook URL in the webhook_url variable.
- Example -
webhook_url = "https://discordapp.com/...."
- Make sure that the timezone of the PC is correct. If you're running the bot on cloud, you may want to manually change the timezone of the virtual machine to an appropriate time zone (i.e., the timezone that your online classes follow)
- Clone the repository
git clone https://github.com/teja156/microsoft-teams-class-attender
- Install requirements.txt
pip install -r requirements.txt
- Run the bot
python bot.py
Written on Python3.