ros-archive/Discord-Server-Cloning-Bot ? reverse-engineered prompt
Reverse engineered prompt
Build me a Discord bot that mirrors one server into another.
I want it to match channels by name, copy message history when I run a backfill command, and optionally keep relaying new messages live if I turn that on. It should repost messages through webhooks so the original author name and avatar show up, keep edits in sync, and show reaction counts as a simple text line under the mirrored message. It should also clone custom emojis from the source server into the destination server, and keep cloning new ones as they get added.
Please make it safe to re run, so it remembers what has already been copied and can resume if it stops. It only needs to handle text channels for now, not threads or voice chat text. Add a couple of simple owner commands like help, backfill, resync, and clone emojis, and make sure they only work in the destination server. If anything is unclear, look up the current Discord API docs online first.
Are you gonna build this?
make sure you review the code using coderabbit