Storing managed roles too

pull/8/head
sgoudham 4 years ago
parent 9eb4a84f09
commit 1a8a1651f7

@ -246,7 +246,7 @@ def extensions():
async def storeRoles(pool, target, ctx, member): async def storeRoles(pool, target, ctx, member):
"""Storing User Roles within Database""" """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 # Setup up pool connection and cursor
async with pool.acquire() as conn: async with pool.acquire() as conn:

Loading…
Cancel
Save