Prevent new roles from being sorted separately.

Addresses #969
This commit is contained in:
Adarnof 2018-02-22 14:43:59 -05:00
parent 08cf8ae1d6
commit 3080d7d868

View File

@ -279,7 +279,7 @@ class DiscordOAuthManager:
return r.json()
@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}
data = {
'color': color,