Fix Member.ban typing to include 0-day message deletes

This commit is contained in:
Steve C 2021-06-27 23:38:29 -04:00 committed by GitHub
parent 3c2cf06e46
commit 20dd632722
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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:
...