From 1a8a1651f736b156a6193f2aa1b299a7c837c0c6 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Mon, 10 Aug 2020 03:06:19 +0100 Subject: [PATCH] Storing managed roles too --- settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.py b/settings.py index d7f378c4..e37931a4 100644 --- a/settings.py +++ b/settings.py @@ -246,7 +246,7 @@ def extensions(): async def storeRoles(pool, target, ctx, member): """Storing User Roles within Database""" - role_ids = ", ".join([str(r.id) for r in target.roles if not r.managed]) + role_ids = ", ".join([str(r.id) for r in target.roles]) # Setup up pool connection and cursor async with pool.acquire() as conn: