From a42bca486275fe8ae5862781ca53c347aac9ef7c Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Tue, 8 Mar 2022 18:58:38 +0100 Subject: [PATCH] Document the necessity of the "Manage Webhooks" permission --- Discord-bot-setup.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Discord-bot-setup.md b/Discord-bot-setup.md index 6b61ce3..40c26fb 100644 --- a/Discord-bot-setup.md +++ b/Discord-bot-setup.md @@ -39,7 +39,9 @@ Now it's time to invite your bot to your server. Don't worry about your bot bein Change the client_id to your Client ID under App Details, then go to this URL -```https://discordapp.com/oauth2/authorize?&client_id=YOUR_CLIENT_ID_HERE&scope=bot&permissions=0``` +```https://discordapp.com/oauth2/authorize?&client_id=YOUR_CLIENT_ID_HERE&scope=bot&permissions=536870912``` + +The weird number (536870912 = 0x20000000) corresponds to the "Manage Webhooks" permission. If you don't want to use `AutoWebhooks=true`, then you can use `0` instead. Now select your server, then click authorize.