Skip to content

Commit

Permalink
add usage information
Browse files Browse the repository at this point in the history
  • Loading branch information
HAV0X1014 authored May 29, 2023
1 parent d969a15 commit a722611
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,16 @@ A small python program to relay discord image URLs to a webhook using a user lis
The info it includes is the server the relayed file is from and the username of the image sender. It supports sending to multiple webhooks, and listening to multiple servers and channels.

It will relay any links, as well as any uploaded files to the webhook(s) of your choice.

### Usage
1. Put your user token in the variable named "DISCORD_USER_TOKEN".
2. Get the ID of the server you want to listen to, and put it in the "listenserverids.txt" file.
3. Get the channel ID of the channel you want to listen to, and put it in the "listenchannelids.txt" file.
4. Get the webhook you want the channel to relay to and put it in "relaywebhooks.txt". Put it on the SAME LINE NUMBER as the corresponding channel ID in "listenchannelids.txt"

Example: If the channel ID for #cats-and-tortises is on line 4, the corresponding webhook needs to be on line 4.

### Notes
If you want to relay one channel to multiple webhooks, separate the webhooks with a comma and a space -> `, ` and put it on the same line.

Example: `https://discordapp.com/3817418, https://discordapp.com/329471, https://discordapp.com/01298541`

0 comments on commit a722611

Please sign in to comment.