The purpose of this bot is to allow you to copy messages from one Discord channel to another Discord channel, even if you don't have permission to add a bot account to the guild you are copying from.
This is done by turning your own Discord account into a bot -- copied messages are sent by you, not a bot.
NOTE: Using this (or any) self-bot is against Discord's Terms of Service — use at your own risk!
To setup and run this bot, you must first install Node.js.
config.jsonin the extracted directory and filling it out. You can see
config.example.jsonfor an example.
title: Displayed at the top of each message. Optional.
"title": "New Copied Message"
richEmbed: Whether or not to use rich embedding. Looks nicer, but has no support for displaying link metadata automatically (images, page details, etc). Users must click links instead.
richEmbedColor: The color for the border of the rich embed if
true. To choose the color, get the hex value (like #0078ff) and then go to google and type "0x0078ff to decimal" -> the number you get is what you want.
includeSource: Whether to include a line at the top showing the nickname, guild, and channel of the author who sent the message.
removeEveryone: Whether to remove all instances of
@everyone in the messages. This prevents accidental mentioning.
removeHere: Same as
removeEveryone except for
copyRichEmbed: Sometimes a source message may include a rich embed of its own, with or without a normal, non-embed message. To copy to the rich embed message, this option must be true. The rich embed message will take precedence over the non-embed message. If that made no sense, juse keep this true.
This Discord bot is called a "self-bot," meaning it runs as your personal Discord account rather than a separate bot account.
In order for this to work, you need to provide your Discord token in the
config.json file. To find this token, follow these steps:
Ctrl + Shift + Ito open the dev tools (may be different on non-windows operating systems).
The token will now be on your clipboard and can be pasted into the config. Make sure there is only one set of quotation marks.
Redirect sources and destinations use Channel IDs, which look like large numbers. To find these, follow these steps:
The ID will now be on your clipboard and can be pasted into the config.
Open a command prompt or terminal in the extracted directory, and run
This bot is compatible with heroku. You can use the button at the top to deploy it.
ECHOBOT_CONFIG_JSON environment variable to create your config. Simply put everything that would normally be in the config.json file into this variable. Formatting does not matter.