diff options
| author | mogad0n | 2020-09-17 17:05:44 +0530 |
|---|---|---|
| committer | mogad0n | 2020-09-17 17:05:44 +0530 |
| commit | 08050e3a5f87cc0a29591926e4e6824276cdfab3 (patch) | |
| tree | f4f127aef82ad46be2323071a8d664da182d563f | |
| parent | bcd99b75322e939b4f47328a5bfde7789243df05 (diff) | |
| download | tripsit-08050e3a5f87cc0a29591926e4e6824276cdfab3.tar.gz tripsit-08050e3a5f87cc0a29591926e4e6824276cdfab3.tar.bz2 tripsit-08050e3a5f87cc0a29591926e4e6824276cdfab3.zip | |
fix broken optional inputs
| -rw-r--r-- | plugin.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |
