mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
Fix bug due to typo in async pagination of entitlements loop
This commit is contained in:
@ -2955,7 +2955,7 @@ class Client:
|
||||
data, state, limit = await strategy(retrieve, state, limit)
|
||||
|
||||
# Terminate loop on next iteration; there's no data left after this
|
||||
if len(data) < 1000:
|
||||
if len(data) < 100:
|
||||
limit = 0
|
||||
|
||||
for e in data:
|
||||
|
Reference in New Issue
Block a user