jharilela/n8n_discord_trigger_bot — reverse-engineered prompt
Reverse engineered prompt
Build me a Discord bot that people can add to their server so they can send Discord activity into n8n, Zapier, Make, or any custom webhook.
The bot should be read only. It should not send messages, moderate, or manage the server. Users should be able to go into a channel and run simple slash commands like setup with a webhook URL, remove to disconnect it, status to check the current channel, and list to see all connected channels in the server.
When someone posts a message, reacts, or uses a thread in a connected channel, the bot should send a clean JSON payload to the webhook with the event type, message text, author info, channel info, server info, message id, and timestamp. It should test the webhook during setup and give a clear success or error response.
Also include self hosting setup with environment variables, Docker support if useful, and a simple backup and restore system for saved webhook settings. Look up current Discord bot docs online if you need to.
Want more depth? Deep Reverse