mushyy/SpamTrap — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a small Discord moderation bot called Spam Trap.

I want to run it with Docker Compose, and I also want the option to run it directly with Python. It should read a YAML config file where I can put my Discord bot token, a list of channel IDs to watch, a list of admin user IDs who are safe, one notification channel ID, and the notification message text.

When anyone who is not on the admin list posts in one of the trap channels, the bot should ban that user from the server and then send a message to the notification channel saying what happened. Admins should never be banned by the trap.

Please include a simple example config file, clear setup instructions in the README, and make it easy to start with docker compose up. Keep it lightweight and straightforward. Look up the current Discord Python docs if you need to.

Want more depth? Deep Reverse