fix broken optional inputs
This commit is contained in:
parent
bcd99b7532
commit
08050e3a5f
@ -149,8 +149,9 @@ class Tripsit(callbacks.Plugin):
|
|||||||
|
|
||||||
combo = wrap(combo, [("something"), ("something")])
|
combo = wrap(combo, [("something"), ("something")])
|
||||||
|
|
||||||
def idose(self, irc, msg, args, dose, name, ago, method):
|
@wrap(idose, [("something"), ("something"), optional("something"), optional("something")])
|
||||||
"""<amount> <drug> [<ago>] [<method>]
|
def idose(self, irc, msg, args, dose, name, method, ago):
|
||||||
|
"""<amount> <drug> [<method>] [<ago>]
|
||||||
|
|
||||||
<ago> is in the format HHMM
|
<ago> is in the format HHMM
|
||||||
logs a dose for you, use 'lastdose' command to retrieve
|
logs a dose for you, use 'lastdose' command to retrieve
|
||||||
|
Loading…
Reference in New Issue
Block a user