Change default limit for Client.logs_from to 100.

This commit is contained in:
Rapptz 2015-10-19 08:31:21 -04:00
parent 7ff2cd008f
commit 0e106cd8c4

View File

@ -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.