mirror of https://gitlab.com/litecord/litecord.git
gateway: handle when hoisted_role isnt found
This commit is contained in:
parent
91cff7aa10
commit
f837b588cf
|
|
@ -187,7 +187,7 @@ async def _compute_supplemental(app, base_ready, user_ready, users_to_send: dict
|
||||||
"mute": member["mute"],
|
"mute": member["mute"],
|
||||||
"deaf": member["deaf"],
|
"deaf": member["deaf"],
|
||||||
"joined_at": member["joined_at"],
|
"joined_at": member["joined_at"],
|
||||||
"hoisted_role": hoisted_role[1],
|
"hoisted_role": hoisted_role[1] if hoisted_role else None,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue