Skip to content

tomassabol/MS-Teams-Attender-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Microsoft Teams Attender v2

Waking up early in the morning to attend some online classes is hard. So I made a bot that attends my boring online classes for me according to my timetable, which allows me to focus more on the classes that I prefer and get more work done.

About

After running the python script, it will open Microsoft Teams in Google Chrome and log you in based on credentials you have entered. After the login, it will look for any active online meeting. It will join only if someone has already joined the meeting and it will leave as the last person from the meeting.

Compatibility

OS compatibilty:

  • WINDOWS
  • MAC OS
  • LINUX

Browser compatibility:

  • Google Chrome ONLY

Working on Raspberry Pi as well

Installation

Installation is a a bit more complicated, but I will try to make it simple.

  1. Download the latest version of Python from this link

  2. IMPORTANT : during installation, check "Add python to PATH" - (windows only) Python PATH

  3. Check you Google Chrome version

Chrome check Chrome Version 4. Download Chrome Driver here: https://chromedriver.chromium.org/downloads

  • Chrome driver version must be compatible with your Google Chrome version
  • After downloading, move Chrome Driver to C:\Windows or /usr/bin on Mac/Linux
  1. Open Command Prompt on Windows or Terminal on Mac/linux
  • type in these commands:
    • pip3 install certifi==2020.4.5.1
    • pip3 install chardet==3.0.4
    • pip3 install idna==2.9
    • pip3 install playsound==1.2.2
    • pip3 install requests==2.23.0
    • pip3 install selenium==3.141.0
    • pip3 install urllib3==1.25.9
  1. Download the code here: https://github.com/tomassabol/MS-Teams-Attender-v2/archive/main.zip

  2. Open config.json in Text Editor/Visual Studio Code/Atom

  3. Type in your Microsoft Teams email and password

    • You can also configurate a few more things, but it's not necessary
  4. Open Microsoft Teams (App or on web), and in settings, change Layout settings to "List" Teams Layout

  5. Now, you can finally run the script auto_joiner.py

Enjoy!