aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-10-19 08:31:21 -0400
committerRapptz <[email protected]>2015-10-19 08:31:28 -0400
commit0e106cd8c4d5f67ccac6d336d0acdd1b09f05245 (patch)
tree8ac5a31e8ac0bea27c231dfe99845d331e62e155
parentProperly set requirements of ws4py and requests. (diff)
downloaddiscord.py-0e106cd8c4d5f67ccac6d336d0acdd1b09f05245.tar.xz
discord.py-0e106cd8c4d5f67ccac6d336d0acdd1b09f05245.zip
Change default limit for Client.logs_from to 100.
-rw-r--r--discord/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index 284a3faa..c034faff 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -765,7 +765,7 @@ class Client(object):
self._is_logged_in = False
log.debug(request_logging_format.format(name='logout', response=response))
- def logs_from(self, channel, limit=500):
+ def logs_from(self, channel, limit=100):
"""A generator that obtains logs from a specified channel.
Yielding from the generator returns a :class:`Message` object with the message data.