mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-15 07:20:17 +02: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:
parent
ea4fd12996
commit
b651ebed87
@ -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 = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user