1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Used the method to check for custom prefixes

This commit is contained in:
phxntxm 2016-08-31 14:09:47 -05:00
parent e863a0e4e0
commit a8e026b8f6

1
bot.py
View file

@ -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):