From 3080d7d868cda97b6aa265b23d05c0301d15115c Mon Sep 17 00:00:00 2001 From: Adarnof Date: Thu, 22 Feb 2018 14:43:59 -0500 Subject: [PATCH] Prevent new roles from being sorted separately. Addresses #969 --- allianceauth/services/modules/discord/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allianceauth/services/modules/discord/manager.py b/allianceauth/services/modules/discord/manager.py index 56a1a196..99489ca2 100644 --- a/allianceauth/services/modules/discord/manager.py +++ b/allianceauth/services/modules/discord/manager.py @@ -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,