diff options
| author | Steve C <[email protected]> | 2021-06-27 23:38:29 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-06-27 23:38:29 -0400 |
| commit | 20dd6327221ff00e29c828d78abba5e25ce67a25 (patch) | |
| tree | d29b45f195883c327c3ea741885db2b004efe817 /discord | |
| parent | [commands] Add attr and parameter "argument" to BadInviteArgument (diff) | |
| download | discord.py-20dd6327221ff00e29c828d78abba5e25ce67a25.tar.xz discord.py-20dd6327221ff00e29c828d78abba5e25ce67a25.zip | |
Fix Member.ban typing to include 0-day message deletes
Diffstat (limited to 'discord')
| -rw-r--r-- | discord/member.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/member.py b/discord/member.py index f3cead72..d55ee4c2 100644 --- a/discord/member.py +++ b/discord/member.py @@ -530,7 +530,7 @@ class Member(discord.abc.Messageable, _BaseUser): self, *, reason: Optional[str] = ..., - delete_message_days: Literal[1, 2, 3, 4, 5, 6, 7] = ..., + delete_message_days: Literal[0, 1, 2, 3, 4, 5, 6, 7] = ..., ) -> None: ... |