diff --git a/discord/guild.py b/discord/guild.py index 8aabb1fb6..6aa247a5e 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -3066,7 +3066,7 @@ class Guild(Hashable): user: Snowflake, *, reason: Optional[str] = None, - delete_message_days: Literal[0, 1, 2, 3, 4, 5, 6, 7] = 1, + delete_message_days: int = 1, ) -> None: """|coro| diff --git a/discord/member.py b/discord/member.py index 6a9e275af..37f2e4e7a 100644 --- a/discord/member.py +++ b/discord/member.py @@ -690,7 +690,7 @@ class Member(discord.abc.Messageable, _UserTag): async def ban( self, *, - delete_message_days: Literal[0, 1, 2, 3, 4, 5, 6, 7] = 1, + delete_message_days: int = 1, reason: Optional[str] = None, ) -> None: """|coro|