diff options
-rw-r--r-- | bot/exts/core/error_handler.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bot/exts/core/error_handler.py b/bot/exts/core/error_handler.py index f62b3d4e..04ab55d7 100644 --- a/bot/exts/core/error_handler.py +++ b/bot/exts/core/error_handler.py @@ -66,7 +66,9 @@ class CommandErrorHandler(commands.Cog): ) if isinstance(error, commands.CommandNotFound): - await self.send_command_suggestion(ctx, ctx.invoked_with) + # Ignore messages that start with "..", as they were likely not meant to be commands + if not ctx.invoked_with.startswith("."): + await self.send_command_suggestion(ctx, ctx.invoked_with) return if isinstance(error, (InChannelCheckFailure, InMonthCheckFailure)): |