pingvortex/ESP32-Discord-bot ? reverse-engineered prompt

Reverse engineered prompt

Build me an ESP32 Discord bot that connects directly to Discord over WebSockets and runs without needing a PC or VPS. I want it to work on an ESP32 DevKit V1, and if possible show live status on a 128x64 SSD1306 OLED screen so I can see when it is online, reconnecting, or receiving commands.

Please make it easy to set up with a config file for the bot token, WiFi name, WiFi password, and the display name shown on the OLED. I also want a few simple chat commands, like a test command, a ping command that shows latency, an echo command that sends a message to a chosen channel, a coin flip, and a random number command.

Keep it lightweight and reliable, and use the normal Arduino style workflow so I can flash it to the board and get it running. If you need to check current library docs online, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab