Skip to content
Snippets Groups Projects
Commit 6ae03956 authored by Sebastian Gehaxelt's avatar Sebastian Gehaxelt
Browse files

Don't send the full help after invalid commands

parent febcd608
Branches
No related tags found
No related merge requests found
...@@ -65,7 +65,7 @@ class IRCBot(irc.client.SimpleIRCClient): ...@@ -65,7 +65,7 @@ class IRCBot(irc.client.SimpleIRCClient):
# Else tell the user how to use the bot # Else tell the user how to use the bot
else: else:
answer = self.__help_msg() answer = "Use !help for possible commands."
except Exception as e: except Exception as e:
print e print e
answer = "Something went wrong :(" answer = "Something went wrong :("
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment