Have to refer to timer.kwargs to get kwargs (in.py)

This commit is contained in:
jesopo 2019-02-10 13:27:49 +00:00
parent 25096c651a
commit d5bb3c5405

View file

@ -66,7 +66,8 @@ class Module(ModuleManager.BaseModule):
raise utils.EventError("You do not have that many reminders")
timer = found[actual_index]
event["stdout"].write("Reminder %d: %s" % (index, timer["message"]))
event["stdout"].write("Reminder %d: %s" % (index,
timer.kwargs["message"]))
else:
event["stdout"].write("%s: you have %d reminders" % (
event["user"].nickname, len(found)))