This is a prof of concept for a reddit bot request. The images used in the tutorial for setup are the same for my other bot prof of concepts, while the names in the images for things might not correspond to what this bot is, the steps are the same.
TLDR; Images are for reference only.
Commands:
rmt! <- Prefix
Command: (you must NOT include the "[]" brackets.)
No Commands.
-
Click Here to create a bot and invite it to your server as follows
- Click the 'New Application' button
- Enter a name for this bot and click create (you can name this anything, but it will show in discord this way)
- Click the 'Bot' tab under settings on the left toolbar
- Click the 'Add Bot' button
- Click 'Yes do it' in the pop-up
- Select 'OAuth2' tab under settings on the left toolbar, select 'Bot' from the checkbox, then 'Administrator'. Copy the link from the bottom and paste it into a new tab / window.
- Select the server you want to invite the bot to and click 'Authorize'
- Go back to the developer portal and select the Bot tab again. Then enable to privledged gateway intents
- Click 'Reset Token' button located under the token, then select 'Copy'.
-
Make sure your discord desktop client is running (this does not work with discord on webclients like chrome etc)
-
Download the latest version of the bot
-
Extract the zip to the desktop or my documents, somewhere you can find it easily.
-
Navigate to the folder and open settings.ini with a text editor like notepad, it will look like this:
[SETTINGS]
Token = ""
Name = "Role Message Tracker"
IconURL = "https://imgur.com/ZRfxJja.png"
Prefix = "rmt!"
Roles = "Developer,Moderator"
Channels = "1087462681608462377,1087462728798584913"
- Edit the settings with the token we copied in the steps above. Change the name, iconURL, prefix, add roles/channels to the list seperated by a comma as you please.
It is important to note that the order the roles are listed will be the same order for channels, so the first role will be sent to the first channel ID, the second role to the second channel.
- Once your settings.ini file is saved, you can start 'Simple Poll And Extract.exe'