Add command not found message when using .help one a non-command
This commit is contained in:
parent
afdf5ccfe9
commit
954ff2ad00
|
@ -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))
|
||||
|
|
Reference in New Issue