Add role colour and hoisting to edit_role.
This commit is contained in:
parent
608384dd4f
commit
c64420f9d3
@ -1006,7 +1006,9 @@ class Client(object):
|
||||
|
||||
payload = {
|
||||
'name': role.name,
|
||||
'permissions': role.permissions.value
|
||||
'permissions': role.permissions.value,
|
||||
'color': role.color,
|
||||
'hoist': role.hoist
|
||||
}
|
||||
|
||||
response = requests.patch(url, json=payload, headers=self.headers)
|
||||
|
Loading…
x
Reference in New Issue
Block a user