Add command not found message when using .help one a non-command

This commit is contained in:
Dabo Ross 2014-01-13 22:56:40 -08:00 committed by Luke Rogers
parent afdf5ccfe9
commit 954ff2ad00
1 changed files with 2 additions and 0 deletions

View File

@ -46,3 +46,5 @@ def help(inp, notice=None, input=None, conn=None, bot=None):
else:
if inp in commands:
notice(conn.conf["command_prefix"] + commands[inp].__doc__)
else:
notice("Command {}{} not found".format(conn.conf["command_prefix"], inp))