From 6b6933e5c9c4c81da73927a4b274972b465cb67f Mon Sep 17 00:00:00 2001 From: Dorukyum Date: Thu, 7 Apr 2022 16:26:09 +0300 Subject: [PATCH] Add trailing commas --- discord/abc.py | 2 +- discord/channel.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/discord/abc.py b/discord/abc.py index 7dc1f60d7b..a0e1f1744d 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -120,7 +120,7 @@ async def _purge_messages_helper( around: Optional[SnowflakeTime] = None, oldest_first: Optional[bool] = False, bulk: bool = True, - reason: Optional[str] = None + reason: Optional[str] = None, ) -> List[Message]: if check is MISSING: check = lambda m: True diff --git a/discord/channel.py b/discord/channel.py index 5f5d97047f..339a5a12ef 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -498,7 +498,7 @@ def is_me(m): around=around, oldest_first=oldest_first, bulk=bulk, - reason=reason + reason=reason, ) async def webhooks(self) -> List[Webhook]: @@ -1115,7 +1115,7 @@ def is_me(m): around=around, oldest_first=oldest_first, bulk=bulk, - reason=reason + reason=reason, ) async def webhooks(self) -> List[Webhook]: