summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugin.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugin.py b/plugin.py
index 35baf43..1107254 100644
--- a/plugin.py
+++ b/plugin.py
@@ -149,8 +149,9 @@ class Tripsit(callbacks.Plugin):
combo = wrap(combo, [("something"), ("something")])
- def idose(self, irc, msg, args, dose, name, ago, method):
- """<amount> <drug> [<ago>] [<method>]
+ @wrap(idose, [("something"), ("something"), optional("something"), optional("something")])
+ def idose(self, irc, msg, args, dose, name, method, ago):
+ """<amount> <drug> [<method>] [<ago>]
<ago> is in the format HHMM
logs a dose for you, use 'lastdose' command to retrieve