mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-12 14:00:17 +02:00
Changed default group permission to:
- Read Messages - Send Messages - Embed Links - Read Message History - Connect - Speak - Use Voice Activity
This commit is contained in:
parent
05eb59789f
commit
90522a5053
@ -86,7 +86,7 @@ class DiscordAPIManager:
|
|||||||
return r.json()
|
return r.json()
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def edit_role(server_id, role_id, name, color=0, hoist=True, permissions=36953089):
|
def edit_role(server_id, role_id, name, color=0, hoist=True, permissions=36785152):
|
||||||
custom_headers = {'content-type':'application/json', 'authorization': DiscordAPIManager.get_auth_token()}
|
custom_headers = {'content-type':'application/json', 'authorization': DiscordAPIManager.get_auth_token()}
|
||||||
data = {
|
data = {
|
||||||
'color': color,
|
'color': color,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user