From 6ae039567f0dabb7c6da6d88621be4772a6db0dc Mon Sep 17 00:00:00 2001 From: Sebastian Gehaxelt <github@gehaxelt.in> Date: Fri, 13 May 2016 18:14:27 +0200 Subject: [PATCH] Don't send the full help after invalid commands --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index b101f76..6f19965 100644 --- a/bot.py +++ b/bot.py @@ -65,7 +65,7 @@ class IRCBot(irc.client.SimpleIRCClient): # Else tell the user how to use the bot else: - answer = self.__help_msg() + answer = "Use !help for possible commands." except Exception as e: print e answer = "Something went wrong :(" -- GitLab