rimelgaming/kyrlixcloud-lxc-bot ? reverse-engineered prompt
Reverse engineered prompt
Build me a Discord bot that lets users create and manage LXD or LXC VPS containers from chat.
I want slash commands for deploying a new VPS, listing my VPS instances, and managing an existing one with simple buttons or menu options for start, stop, restart, status, SSH info, and delete. Each user should only be able to see and control their own containers. Please keep track of ownership and container data in a small SQLite database.
The bot should automatically assign SSH ports, and optionally support forwarding a public port to the container so people can connect with an SSH command like ssh root@public-ip -p port. I also want a clean installer that can ask for the Discord token, guild ID, public IP, default resources, and SSH port range, then set up the config and run it as a system service.
Make it easy to deploy on a Linux server, keep secrets out of the repo, and if you need to check current LXD details online, go ahead and do that.
Are you gonna build this?
make sure you review the code using coderabbit