Fix typing for Channel.purge's limit kwarg.

PyCharm was throwing a fit when I set it to None. 😒
This commit is contained in:
Steve C authored and GitHub committed 2019-02-27 16:40:32 -05:00
1 parent 48b60b2eac
commit 8beabcc39a
1 file changed
+1 -1
+1 -1
View File
@@ -238,7 +238,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
Parameters Parameters
----------- -----------
limit: int limit: Optional[int]
The number of messages to search through. This is not the number The number of messages to search through. This is not the number
of messages that will be deleted, though it can be. of messages that will be deleted, though it can be.
check: predicate check: predicate