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

Changed notify to be a subcommand of twitch

This commit is contained in:
Phxntxm 2016-07-11 10:01:59 -05:00
parent 656990686b
commit 38d4a92235

2
bot.py
View file

@ -55,7 +55,7 @@ async def on_command_error(error, ctx):
fmt = "That is not a valid command! If you need asistance on what command to use, please enter '!help'"
await bot.send_message(ctx.message.channel, fmt)
elif isinstance(error, commands.BadArgument):
fmt = "Please provide a valid argument to pass to the command: {}:".format(error)
fmt = "Please provide a valid argument to pass to the command: {}".format(error)
await bot.send_message(ctx.message.channel, fmt)
else:
fmt = 'An error occurred while processing this request: ```py\n{}: {}\n```'