aboutsummaryrefslogtreecommitdiff
path: root/modules/in.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/in.py')
-rw-r--r--modules/in.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/in.py b/modules/in.py
index 7fb7d7ea..f237bee6 100644
--- a/modules/in.py
+++ b/modules/in.py
@@ -5,10 +5,11 @@ SECONDS_MAX = Utils.SECONDS_WEEKS*8
SECONDS_MAX_DESCRIPTION = "8 weeks"
class Module(ModuleManager.BaseModule):
- @Utils.hook("received.command.in", min_args=2, usage="<time> <message>")
+ @Utils.hook("received.command.in", min_args=2)
def in_command(self, event):
"""
- Set a reminder
+ :help: Set a reminder
+ :usage: <time> <message>
"""
seconds = Utils.from_pretty_time(event["args_split"][0])
message = " ".join(event["args_split"][1:])