Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Commit

Permalink
fix: dont rechunk guilds on reconnect (#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
LordOfPolls committed Sep 3, 2022
1 parent 6c31776 commit 89b0e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion naff/api/events/processors/guild_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async def _on_raw_guild_create(self, event: "RawGatewayEvent") -> None:

self._guild_event.set()

if self.fetch_members: # noqa
if self.fetch_members and not guild.chunked.is_set(): # noqa
# delays events until chunking has completed
await guild.chunk()

Expand Down

0 comments on commit 89b0e0e

Please sign in to comment.