mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-10 13:00:16 +02:00
parent
08cf8ae1d6
commit
3080d7d868
@ -279,7 +279,7 @@ class DiscordOAuthManager:
|
|||||||
return r.json()
|
return r.json()
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def __edit_role(role_id, name, color=0, hoist=True, permissions=36785152):
|
def __edit_role(role_id, name, color=0, hoist=False, permissions=36785152):
|
||||||
custom_headers = {'content-type': 'application/json', 'authorization': 'Bot ' + settings.DISCORD_BOT_TOKEN}
|
custom_headers = {'content-type': 'application/json', 'authorization': 'Bot ' + settings.DISCORD_BOT_TOKEN}
|
||||||
data = {
|
data = {
|
||||||
'color': color,
|
'color': color,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user