diff --git a/README.md b/README.md index bdb06ea..d9e68bd 100644 --- a/README.md +++ b/README.md @@ -79,12 +79,12 @@ Notice the **TOKEN** section of the page, as we will use that in the next step. ### 4. Bot Permissions -In the Bot page, Scroll down and find **Bot Permissions** +In the Bot page, Scroll down and find **Privileged Gateway Intents** -Click the Administrator Box, so it looks as shown: -Bot Permissions +Enable the "MESSAGE CONTENT INTENT" and click "Save Changes" + -### 4. Config File +### 5. Config File Now go to your IDE or Text Editor, and make a copy of `config template.yaml`. Save the copy as `config.yaml`. This will be the bots config file, and is important to running on discord. @@ -128,7 +128,7 @@ If you get stuck on this step, [here is a good reference to help](https://www.al When you are done getting all of these filled in, your config should be ready to use. -### 5. Create an Invite Link +### 6. Create an Invite Link Back in the Developer Portal, go to **OAuth2 > URL Generator** and check the `[ ] bot` checkbox. This will show a second set of options called **Bot Permissions** @@ -137,7 +137,7 @@ In bot permissions, check the `[ ] Administrator` checkbox and scroll to the bot The result should look like this below: Completed OAuth2 -### 6. Join the Testing Server and Add the bot. +### 7. Join the Testing Server and Add the bot. First, join the **[Compsci Bot Testing Server](https://discord.gg/M48HYYYCyT)** if you havent already. @@ -153,7 +153,7 @@ Now it should show on the server side panel, but it is not shown as being on. inactive bot -### 7. Running your bot +### 8. Running your bot You are almost done! Now for the coding part. diff --git a/bot.py b/bot.py index fa6d346..d7338cf 100644 --- a/bot.py +++ b/bot.py @@ -15,7 +15,7 @@ with open("config.yaml") as file: config = yaml.load(file, Loader=yaml.FullLoader) -intents = nextcord.Intents.default().all() +intents = nextcord.Intents(message_content=True) bot = Bot(command_prefix=config["bot_prefix"], intents=intents) diff --git a/imgs/botPerms.webp b/imgs/botPerms.webp deleted file mode 100644 index 4f1e2f0..0000000 Binary files a/imgs/botPerms.webp and /dev/null differ diff --git a/imgs/messagePermission.webp b/imgs/messagePermission.webp new file mode 100644 index 0000000..d89fb6d Binary files /dev/null and b/imgs/messagePermission.webp differ