mirror of https://gitlab.com/litecord/litecord.git
Ignore states without websocket
This commit is contained in:
parent
1bb0bd2649
commit
82d793ae07
|
|
@ -596,6 +596,9 @@ class GuildMemberList:
|
||||||
if state is None:
|
if state is None:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if state.ws is None:
|
||||||
|
continue
|
||||||
|
|
||||||
await state.ws.dispatch("GUILD_MEMBER_LIST_UPDATE", payload)
|
await state.ws.dispatch("GUILD_MEMBER_LIST_UPDATE", payload)
|
||||||
|
|
||||||
dispatched.append(state.session_id)
|
dispatched.append(state.session_id)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue