Add some commands

This commit is contained in:
Richard Chien
2016-12-30 22:01:50 +08:00
parent e14b74cf2f
commit c62fafa69e
15 changed files with 407 additions and 46 deletions

View File

@ -74,6 +74,8 @@ def _dispatch_command(ctx_msg):
# Starting a new command, so remove any previous command session
interactive.remove_session(source)
command[0] = command[0].lower()
ctx_msg['command'] = command[0]
cmdhub.call(command[0], command[1], ctx_msg)
except SkipException:
# Skip this message