From dbe036aaf799ac31c3a8249ef7af07c7dc8c91d7 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 1 Apr 2026 17:08:37 +0200 Subject: Initial commit --- README.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..643f6b6 --- /dev/null +++ b/README.md @@ -0,0 +1,41 @@ +# 256phi - Discord Bot + +Fun interactions and Proxmox monitoring. + +## Commands + +- `/pet`, `/boop`, `/hug`, `/cookie`, `/headpat` - fun stuff +- `/node` - full node health (CPU, memory, swap, storage, VMs/containers) +- `/vms` - list all VMs and containers +- `/notify` - send a DM (owner only) + +## Run + +```bash +pip install -r requirements.txt +python3 bot.py +``` + +## Systemd Service + +```ini +[Unit] +Description=256phi Discord Bot +After=network.target + +[Service] +Type=simple +User=mystra +WorkingDirectory=/home/mystra +ExecStart=/usr/bin/python3 bot.py +Restart=on-failure + +[Install] +WantedBy=multi-user.target +``` + +```bash +sudo systemctl enable 256phi +sudo systemctl start 256phi +``` + -- cgit v1.2.3