Changed notify to be a subcommand of twitch
This commit is contained in:
parent
656990686b
commit
38d4a92235
2
bot.py
2
bot.py
|
@ -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```'
|
||||
|
|
Loading…
Reference in a new issue