From 20dd6327221ff00e29c828d78abba5e25ce67a25 Mon Sep 17 00:00:00 2001 From: Steve C Date: Sun, 27 Jun 2021 23:38:29 -0400 Subject: [PATCH] Fix Member.ban typing to include 0-day message deletes --- discord/member.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/member.py b/discord/member.py index f3cead72c..d55ee4c2e 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: ...