aDeLaLaHmaDi/Online-Forever ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Python app that keeps a Discord account showing as online all the time, with support for choosing Online, Idle, or Do Not Disturb, plus an optional custom status message.
I want it to be easy to run locally, in Docker, or on a hosted Python environment like Replit, and it should keep itself alive so the status doesn’t drop. Please make it read the Discord token from an environment variable, check that the token is valid before doing anything, and print the logged in user so I know it worked. If the token is missing or invalid, show a clear error message.
Also include simple setup files so it’s easy to deploy, and make sure the code is organized in a way that’s simple to edit if I want to change the status text or presence mode later. If you need to look up current Discord gateway or Python docs online, go ahead.
Are you gonna build this?
make sure you review the code using coderabbit