mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-22 08:44:10 +00:00
Fix typing for Channel.purge's limit kwarg.
PyCharm was throwing a fit when I set it to None. 😒
This commit is contained in:
parent
48b60b2eac
commit
8beabcc39a
@ -238,7 +238,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
|
||||
|
||||
Parameters
|
||||
-----------
|
||||
limit: int
|
||||
limit: Optional[int]
|
||||
The number of messages to search through. This is not the number
|
||||
of messages that will be deleted, though it can be.
|
||||
check: predicate
|
||||
|
Loading…
x
Reference in New Issue
Block a user