Hotfix member sidebar misbehaving, not showing role heiarchy

This commit is contained in:
Jeremy Zhang 2018-01-23 22:59:34 +00:00
parent becc65a2da
commit b4e04a27c3

View File

@ -87,7 +87,7 @@ def get_online_discord_users(guild_id, embed):
for role in guild_roles:
guildroles_filtered[role["id"]] = role
for member in embed['members']:
apimem = apimembers_filtered.get(member["id"])
apimem = apimembers_filtered.get(int(member["id"]))
member["hoist-role"] = None
member["color"] = None
if apimem: