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
This commit is contained in:
Adarnof 2016-11-13 17:18:26 -05:00
parent ea4fd12996
commit b651ebed87

View File

@ -17,8 +17,10 @@ EVE_IMAGE_SERVER = "https://image.eveonline.com"
AUTH_URL = "https://discordapp.com/api/oauth2/authorize" AUTH_URL = "https://discordapp.com/api/oauth2/authorize"
TOKEN_URL = "https://discordapp.com/api/oauth2/token" TOKEN_URL = "https://discordapp.com/api/oauth2/token"
# kick, manage roles, manage nicknames # needs administrator, since Discord can't get their permissions system to work
BOT_PERMISSIONS = 0x00000002 + 0x10000000 + 0x08000000 # was kick members, manage roles, manage nicknames
#BOT_PERMISSIONS = 0x00000002 + 0x10000000 + 0x08000000
BOT_PERMISSIONS = 0x00000008
# get user ID, accept invite # get user ID, accept invite
SCOPES = [ SCOPES = [