aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/echo.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/echo.py b/modules/echo.py
index 7c36a480..b02a3ab6 100644
--- a/modules/echo.py
+++ b/modules/echo.py
@@ -6,14 +6,14 @@ class Module(ModuleManager.BaseModule):
@utils.hook("received.command.echo")
@utils.kwarg("remove_empty", False)
@utils.kwarg("help", "Echo a string back")
- @utils.spec("!string")
+ @utils.spec("!<message>string")
def echo(self, event):
event["stdout"].write(event["spec"][0])
@utils.hook("received.command.action")
@utils.kwarg("remove_empty", False)
@utils.kwarg("help", "Make the bot send a /me")
- @utils.spec("!string")
+ @utils.spec("!<message>string")
def action(self, event):
event["target"].send_message("\x01ACTION %s\x01" % event["spec"][0])
@@ -21,6 +21,6 @@ class Module(ModuleManager.BaseModule):
@utils.kwarg("permission", "say")
@utils.kwarg("remove_empty", False)
@utils.kwarg("help", "Send a message to a target")
- @utils.spec("!word !string")
+ @utils.spec("!<target>word !<message>string")
def msg(self, event):
event["server"].send_message(event["spec"][0], event["spec"][1])