diff options
| author | Harmon <[email protected]> | 2016-05-20 20:15:43 -0500 |
|---|---|---|
| committer | khazhyk <[email protected]> | 2016-05-20 21:15:43 -0400 |
| commit | c2e7a681059b70ff5800fe8f1ff9b73b4bdba72f (patch) | |
| tree | 6e62d88fd2130bac86f591fa521090bcab8603a4 | |
| parent | Only trigger on_voice_state_update if the member actually exists. (diff) | |
| download | discord.py-c2e7a681059b70ff5800fe8f1ff9b73b4bdba72f.tar.xz discord.py-c2e7a681059b70ff5800fe8f1ff9b73b4bdba72f.zip | |
Fix purge_from to use LogsFromIterator.create (#219)
| -rw-r--r-- | discord/client.py | 2 |
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 |