From d5bb3c5405c98468ee34ad196eb28235bd708f5d Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 10 Feb 2019 13:27:49 +0000 Subject: [PATCH] Have to refer to `timer.kwargs` to get kwargs (in.py) --- modules/in.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/in.py b/modules/in.py index 2bef5adf..890dc680 100644 --- a/modules/in.py +++ b/modules/in.py @@ -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)))