Uses the python libraries discord.py and proxmoxer to start, shutdown and show running status of a Proxmox QEMU VM in discord
poetry install
You'll need to have configured a bot in discord and invited it to your server.
export VMID="111"
export PVE_PASSWORD="12345"
export PVE_USERNAME="user@pam"
export PVE_NODE="pvenodenamehere"
export PVE_URL="pve.url.here"
export DISCORD_TOKEN="12345"
poetry run python main.py
Command | Purpose |
---|---|
$start | starts vm |
$shutdown | shutdown the vm |
$status | running status of the VM |