Browse Source

Fix typing for Channel.purge's limit kwarg.

PyCharm was throwing a fit when I set it to None. 😒
pull/1940/head
Steve C 6 years ago
committed by GitHub
parent
commit
8beabcc39a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      discord/channel.py

2
discord/channel.py

@ -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…
Cancel
Save