Skip to content

ThomasQTruong/DiscordMessageRelaySelfBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Discord Message Relay Self Bot

  • By Thomas Truong

Usage Examples

! WARNING !

  • Self bots are against Discord's TOS, use at your own discretion.
    • Highly recommended to use an alt account (throw-away account).

About

  • Relays messages from a Discord channel to a different channel.
    • Can be a channel from the same server or a different server.

Prerequisites

  • 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.
  • Join the server with your Discord selfbot account.
    • Needs to be able to read from the target channel to relay.

Usage

  • Insert information needed in discord_message_relay_self_bot.py.
    • TOKEN
      • Your Discord account's token (PREFERRABLY AN ALT ACCOUNT).
      1. Press CTRL + Shift + I to open inspect element.
        • Switch to web browser version if this doesn't work.
      2. Click on Network
      3. Refresh (Ctrl + R or click the refresh button if browser).
      4. Filter for messages.
      5. 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, ...]
  • 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages