diff --git a/README.md b/README.md index 84f43f5..eb577d2 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,19 @@ This command is used to add exsisting plex emails, jellyfin users and discord i /membarr dbrm 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 > 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.** https://discordpy.readthedocs.io/en/latest/intents.html#privileged-intents **Discord Bot requires Bot and application.commands permission to fully function.** -