mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-21 08:17:47 +00:00
Fix purge_from to use LogsFromIterator.create (#219)
This commit is contained in:
parent
bf650297a1
commit
c2e7a68105
@ -1085,7 +1085,7 @@ class Client:
|
||||
if check is None:
|
||||
check = lambda m: True
|
||||
|
||||
iterator = LogsFromIterator(self, channel, limit, before, after)
|
||||
iterator = LogsFromIterator.create(self, channel, limit, before=before, after=after)
|
||||
ret = []
|
||||
count = 0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user