This is a tool to clone an entire Discord channel.
- It copies all the messages within the channel.
- The channel itself is not copied. Please use Discord's features to duplicate it.
- The names and icons of the message senders are pseudo-copied. (Using webhooks)
- It is also possible to clone into forum threads.
- Message Content Intent is required to retrieve messages.
- Webhook creation permission is required on the server to use webhooks.
- Copy
.env.sample
and save it as.env
. - Replace the
DISCORD_TOKEN
in.env
with your own bot token. - Install dependencies with
npm install
. - Start the cloning process with
npm run start <source channel ID> <destination channel ID>
.
If the cloning process stops in the middle, you can resume it from where it left off by following these steps:
- Take note of the ID of the last copied message.
- Resume the process by running
npm run start <source channel ID> <destination channel ID> <ID of the last copied message>
.
- Information such as threads and reactions cannot be copied.
- Due to limitations of the Webhook API, reply information is not preserved.
- Special messages such as user join messages or boost messages cannot be copied.
- Message posting timestamps are not copied.
This project is released under the MIT license. For more information, see LICENSE.