diff options
author | Dipesh Amin <yaypunkrock@gmail.com> | 2011-08-28 17:29:16 +0100 |
---|---|---|
committer | Dipesh Amin <yaypunkrock@gmail.com> | 2011-08-28 17:29:16 +0100 |
commit | a94f91a8b8a09910198eed8ab4407bc0c9ef66eb (patch) | |
tree | bf91b8fa1d7822e05bd8d83abb3caa03b902c41c | |
parent | 4b96c486d9cba72ec5fc3f4f15c4dbbd6ff13824 (diff) | |
download | manamarket-a94f91a8b8a09910198eed8ab4407bc0c9ef66eb.tar.gz manamarket-a94f91a8b8a09910198eed8ab4407bc0c9ef66eb.tar.bz2 manamarket-a94f91a8b8a09910198eed8ab4407bc0c9ef66eb.tar.xz manamarket-a94f91a8b8a09910198eed8ab4407bc0c9ef66eb.zip |
Add a message for an unrecognised command.
-rwxr-xr-x | main.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -530,6 +530,8 @@ def process_whisper(nick, msg, mapserv): else: mapserv.sendall(whisper(nick, "Where are you?!? I can't trade with somebody who isn't here!")) trader_state.reset() + else: + mapserv.sendall(whisper(nick, "Command not recognised, please whisper me !help for a full list of commands.")) def main(): logging.basicConfig(filename='data/logs/activity.log', level=logging.INFO, format='%(asctime)s: %(message)s', datefmt='%Y-%m-%d %H:%M:%S') |