- By Thomas Truong
- Self bots are against Discord's TOS, use at your own discretion.
- Highly recommended to use an alt account (throw-away account).
- Relays messages from a Discord channel to a different channel.
- Can be a channel from the same server or a different server.
- discord.py-self
-
pip install -U discord.py-self
-
- requests
-
pip install -U requests
-
- Developer Mode enabled on Discord
- Only needed for setting up the bot; not needed after.
- You can leave it enabled or disable if you want; personally, I always have it enabled.
- Settings -> Advanced -> Developer Mode.
- Only needed for setting up the bot; not needed after.
- Join the server with your Discord selfbot account.
- Needs to be able to read from the target channel to relay.
- Insert information needed in discord_message_relay_self_bot.py.
- TOKEN
- Your Discord account's token (PREFERRABLY AN ALT ACCOUNT).
- Press CTRL + Shift + I to open inspect element.
- Switch to web browser version if this doesn't work.
- Click on Network
- Refresh (Ctrl + R or click the refresh button if browser).
- Filter for
messages. - Select it and look under
Request Headers->Authorization:for the token.- Recommended to keep this private.
- WEBHOOK_URL
- Your webhook URL for the channel you want the copied text to go.
- Your Server -> Right-Click Channel -> Edit Channel -> Integrations -> Webhooks -> New Webhook -> Click on Webhook -> Copy Webhook URL.
- Recommended to keep this private.
- CHANNEL_IDS
- The ID of the channel(s) that you want to copy the message from.
- Select Server -> Right-Click on Target Channel -> Copy Channel ID.
- Format: [ID1, ID2, ID3, ...]
- The ID of the channel(s) that you want to copy the message from.
- TOKEN
- Run discord_message_relay_self_bot.py and it should automatically work once a new message is sent in the target channel.
- 24/7 Hosting: Wispbyte
- I came across this site which offers free 24/7 hosting and I am currently using this.