mirror of
https://gitlab.com/ceda_ei/pc-monitor-bot
synced 2025-10-28 12:40:05 +01:00
42661d863d852def0a1c29318d8c83fe49d28b42
PC-Monitor-Bot
A bot intended to check the state of your PC (screenshots and check if locked)
Setup
- Install
scrot,python3,pip3using your package manager.- Arch Linux:
sudo pacman -S scrot python python-pip - Debian:
sudo apt install python3 python3-pip scrot
- Arch Linux:
- Install
python-telegram-bot- System-wide installation:
pip3 install python-telegram-bot - User installation:
pip3 install --user python-telegram-bot
- System-wide installation:
git clone https://gitlab.com/ceda_ei/pc-monitor-botcd pc-monitor-bot- Create a bot with BotFather
- Copy the sample config file and edit it
cp sample.config.py config.py- Edit
config.pyusing a text editor
python3 bot.py
Languages
Python
97.3%
Shell
2.7%