mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-04 06:06:19 +01:00
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:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user