From abb67ef06fce85fa1a1e3a56612fcfd01546db1c Mon Sep 17 00:00:00 2001 From: moneromooo Date: Thu, 1 Jan 2015 12:16:44 +0000 Subject: [PATCH] Make clear one can use !commands --- tipbot/command_manager.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tipbot/command_manager.py b/tipbot/command_manager.py index 986d351..e5f5a58 100644 --- a/tipbot/command_manager.py +++ b/tipbot/command_manager.py @@ -63,7 +63,10 @@ def Commands(nick,chan,cmd): module_name = GetParam(cmd,1) - SendTo(nick, "Commands for %s:" % config.tipbot_name) + if module_name: + SendTo(nick, "Commands for %s's %s module:" % (config.tipbot_name,module_name)) + else: + SendTo(nick, "Commands for %s (!commands for command help):" % config.tipbot_name) msgs = dict() for command_name in commands: