From b651ebed87987390cace83a575f423a2ea050435 Mon Sep 17 00:00:00 2001 From: Adarnof Date: Sun, 13 Nov 2016 17:18:26 -0500 Subject: [PATCH] Discord bot requests administrator role. Seeing as Discord can't get their roles system to work over the API, this is our only choice. Closes #569 --- services/managers/discord_manager.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/services/managers/discord_manager.py b/services/managers/discord_manager.py index 4e5ee2cd..e9b5547d 100644 --- a/services/managers/discord_manager.py +++ b/services/managers/discord_manager.py @@ -17,8 +17,10 @@ EVE_IMAGE_SERVER = "https://image.eveonline.com" AUTH_URL = "https://discordapp.com/api/oauth2/authorize" TOKEN_URL = "https://discordapp.com/api/oauth2/token" -# kick, manage roles, manage nicknames -BOT_PERMISSIONS = 0x00000002 + 0x10000000 + 0x08000000 +# needs administrator, since Discord can't get their permissions system to work +# was kick members, manage roles, manage nicknames +#BOT_PERMISSIONS = 0x00000002 + 0x10000000 + 0x08000000 +BOT_PERMISSIONS = 0x00000008 # get user ID, accept invite SCOPES = [