From 08050e3a5f87cc0a29591926e4e6824276cdfab3 Mon Sep 17 00:00:00 2001 From: mogad0n Date: Thu, 17 Sep 2020 17:05:44 +0530 Subject: [PATCH] fix broken optional inputs --- plugin.py | 5 +++-- 1 file 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): - """ [] [] + @wrap(idose, [("something"), ("something"), optional("something"), optional("something")]) + def idose(self, irc, msg, args, dose, name, method, ago): + """ [] [] is in the format HHMM logs a dose for you, use 'lastdose' command to retrieve