aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmon <[email protected]>2016-05-20 20:15:43 -0500
committerkhazhyk <[email protected]>2016-05-20 21:15:43 -0400
commitc2e7a681059b70ff5800fe8f1ff9b73b4bdba72f (patch)
tree6e62d88fd2130bac86f591fa521090bcab8603a4
parentOnly trigger on_voice_state_update if the member actually exists. (diff)
downloaddiscord.py-c2e7a681059b70ff5800fe8f1ff9b73b4bdba72f.tar.xz
discord.py-c2e7a681059b70ff5800fe8f1ff9b73b4bdba72f.zip
Fix purge_from to use LogsFromIterator.create (#219)
-rw-r--r--discord/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index ed01351f..a39f8227 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -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