mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 20:40:17 +02:00
Prevent new roles from being sorted separately.
Addresses #969 (cherry picked from commit 3080d7d868cda97b6aa265b23d05c0301d15115c)
This commit is contained in:
parent
91ec924acc
commit
1ce041b90a
@ -281,7 +281,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