You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ceda EI 261b2ce49b Fix typo. 5 years ago
.gitignore Add start command and base config 5 years ago
LICENSE Add LICENSE 5 years ago Update 5 years ago Add /shutdown and /reboot 5 years ago Fix typo. 5 years ago Add to send custom lock and unlock messages. 5 years ago Add /screenshot 5 years ago


A bot intended to check the state of your PC (screenshots and check if locked)


  • Install scrot, python3, pip3 using your package manager.
    • Arch Linux: sudo pacman -S scrot python python-pip
    • Debian: sudo apt install python3 python3-pip scrot
  • Install python-telegram-bot
    • System-wide installation: pip3 install python-telegram-bot
    • User installation: pip3 install --user python-telegram-bot
  • git clone
  • cd pc-monitor-bot
  • Create a bot with BotFather
  • Copy the sample config file and edit it
    • cp
    • Edit using a text editor
  • python3
  • Add python3 lock and python3 unlock around your lock script to send messages when screen is locked and unlocked.