We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03e3305 commit 965ab4fCopy full SHA for 965ab4f
discord/state.py
@@ -760,7 +760,9 @@ async def _flush(self) -> None:
760
except Exception as exc:
761
_log.debug('Bulk guild subscribe failed with %s. Requeuing changes...', exc, exc_info=True)
762
# This should never raise
763
- await self._checked_add(payload)
+ new_payload = self._pending
764
+ self._pending = payload
765
+ await self._checked_add(new_payload)
766
return
767
768
for key, subscriptions in payload.items():
0 commit comments