diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 41 |
1 files changed, 41 insertions, 0 deletions
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 +``` + |
