/microsoft-teams-class-attender

A bot to attend classes on microsoft teams

Primary LanguagePython

Microsoft Teams Online Class Attender

This project is not updated/maintained. It is a FIY (Fix It Yourself).

This bot attends the online classes (or meetings) held on Microsoft teams, according to the given timetable.

Configure

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.
  • This is how list view looks like
  • Open bot.py, and put your microsoft teams credentials in the CREDS dictionary.
  • Example - CREDS = {'email' : 'myemail@email.com', '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)

Install

  • Clone the repository git clone https://github.com/teja156/microsoft-teams-class-attender
  • Install requirements.txt pip install -r requirements.txt

Run the bot

  • Run the bot python bot.py

Written on Python3.