Update README.md (#42)

Add discord bot creation instructions
This commit is contained in:
originade
2023-05-10 11:09:08 -07:00
committed by GitHub
parent ba05cd40c5
commit 461419f71d

View File

@@ -33,6 +33,19 @@ This command is used to add exsisting plex emails, jellyfin users and discord i
/membarr dbrm <position> /membarr dbrm <position>
This command is used to remove a record from the Db. Use /membarr dbls to determine record position. ex: /membarr dbrm 1 This command is used to remove a record from the Db. Use /membarr dbls to determine record position. ex: /membarr dbrm 1
``` ```
# Creating Discord Bot
1. Create the discord server that your users will get member roles or use an existing discord that you can assign roles from
2. Log into https://discord.com/developers/applications and click 'New Application'
3. (Optional) Add a short description and an icon for the bot. Save changes.
4. Go to 'Bot' section in the side menu
5. Uncheck 'Public Bot' under Authorization Flow
6. Check all 3 boxes under Privileged Gateway Intents: Presence Intent, Server Members Intent, Message Content Intent. Save changes.
7. Copy the token under the username or reset it to copy. This is the token used in the docker image.
8. Go to 'OAuth2' section in the side menu, then 'URL Generator'
9. Under Scopes, check 'bot' and applications.commands
10. Copy the 'Generated URL' and paste into your browser and add it to your discord server from Step 1.
11. The bot will come online after the docker container is running with the correct Bot Token
# Unraid Installation # Unraid Installation
> For Manual an Docker setup, see below > For Manual an Docker setup, see below
@@ -114,4 +127,3 @@ We appreciate any and all contributions made to the project, whether that be new
**Enable Intents else bot will not Dm users after they get the role.** **Enable Intents else bot will not Dm users after they get the role.**
https://discordpy.readthedocs.io/en/latest/intents.html#privileged-intents https://discordpy.readthedocs.io/en/latest/intents.html#privileged-intents
**Discord Bot requires Bot and application.commands permission to fully function.** **Discord Bot requires Bot and application.commands permission to fully function.**