mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-03 18:42:43 +00:00
Change default limit for Client.logs_from to 100.
This commit is contained in:
parent
7ff2cd008f
commit
0e106cd8c4
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user