a small, way to colored cli script to leave teams after a certain time
- Download and install Node.js (link: https://nodejs.org/en/download/)
- run
npm install -g DRKSLV/byeteams
in a terminal to download/install the script - to execute the script run
byeteams <...>
or if that doesnt work,npx byeteams <...>
Interactive Configuration Process if you enter Y, don't need to explain it i think
run with byeteamsOld <...>
When using the 'sleep' option, Windows will enter Hibernation Mode. Moving the mouse won't wake it up, pressing the power button will work.
Example Commands
byeteams 3000 # leftclicks after 3000 milliseconds
byeteams 36000 # leftclicks after 1 hour, closes teams, and puts computer in hibernation mode
byeteams 1h sleep # same as above but more convenient
byeteams 1h-30min sleep # will leave and sleep after 90mins aka one lesson