diff options
author | 2022-04-21 19:07:43 +0100 | |
---|---|---|
committer | 2022-04-21 19:07:43 +0100 | |
commit | 7ced86c89e5edd95ac568aee9cd6eb749cc862fc (patch) | |
tree | 0c2eea37184a34467b3c39b72d3aa27c752dc780 | |
parent | Deal with the clean invoke being delete before replying (diff) | |
parent | Merge pull request #2140 from python-discord/remove-wait_for-kwarg (diff) |
Merge branch 'main' into supress-notfound-when-cleaning
-rw-r--r-- | bot/exts/moderation/incidents.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/incidents.py b/bot/exts/moderation/incidents.py index b65f9262f..155b123ca 100644 --- a/bot/exts/moderation/incidents.py +++ b/bot/exts/moderation/incidents.py @@ -404,7 +404,7 @@ class Incidents(Cog): def check(payload: discord.RawReactionActionEvent) -> bool: return payload.message_id == incident.id - coroutine = self.bot.wait_for(event="raw_message_delete", check=check, timeout=timeout) + coroutine = self.bot.wait_for("raw_message_delete", check=check, timeout=timeout) return scheduling.create_task(coroutine, event_loop=self.bot.loop) async def process_event(self, reaction: str, incident: discord.Message, member: discord.Member) -> None: |