From a8e026b8f6db4bdf71f59487a5f1c6f624fe259d Mon Sep 17 00:00:00 2001 From: phxntxm Date: Wed, 31 Aug 2016 14:09:47 -0500 Subject: [PATCH] Used the method to check for custom prefixes --- bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bot.py b/bot.py index 191bd33..077c5f8 100644 --- a/bot.py +++ b/bot.py @@ -90,6 +90,7 @@ async def on_message(message): await bot.process_commands(message) + @bot.event async def on_command_error(error, ctx): if isinstance(error, commands.BadArgument):