From 954ff2ad00728049b97d79a707d19dcda27b8d3d Mon Sep 17 00:00:00 2001 From: Dabo Ross Date: Mon, 13 Jan 2014 22:56:40 -0800 Subject: [PATCH] Add command not found message when using .help one a non-command --- plugins/help.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/help.py b/plugins/help.py index f6b5143..4a4fd47 100644 --- a/plugins/help.py +++ b/plugins/help.py @@ -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))