diff options
| author | 2022-05-27 22:59:25 +0100 | |
|---|---|---|
| committer | 2022-05-27 21:59:25 +0000 | |
| commit | df48d32fb9cb6ded6ca77e182b154611b606fe10 (patch) | |
| tree | d4abaac107fdbd1177ff0a2e06fbe05d5baf337e | |
| parent | Remove rediscache from thread bumper now it's been migrated (#2161) (diff) | |
Catch correct exception in clean cog (#2176)
Co-authored-by: Xithrius <[email protected]>
| -rw-r--r-- | bot/exts/moderation/clean.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/clean.py b/bot/exts/moderation/clean.py index 0f14f515e..fedb787f9 100644 --- a/bot/exts/moderation/clean.py +++ b/bot/exts/moderation/clean.py @@ -443,7 +443,7 @@ class Clean(Cog): if log_url and is_mod_channel(ctx.channel): try: await ctx.reply(success_message) - except errors.NotFound: + except errors.HTTPException: await ctx.send(success_message) elif log_url: if mods := self.bot.get_channel(Channels.mods): |