From 44c8863d358c8541e532b625c594610503d8c87d Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Thu, 2 Mar 2017 09:37:18 -0600 Subject: [PATCH] countdown: print the item name on new reminders this is so that we can delete them later bss/dr.botzo#33 --- countdown/ircplugin.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/countdown/ircplugin.py b/countdown/ircplugin.py index 4f89df3..9f7bb9f 100644 --- a/countdown/ircplugin.py +++ b/countdown/ircplugin.py @@ -165,9 +165,10 @@ class Countdown(Plugin): log.info("created countdown item %s", str(countdown_item)) if in_privmsg: - self.bot.reply(event, "ok, i'll message you at {0:s}".format(str(when_t))) + self.bot.reply(event, "ok, i'll message you at {0:s} 14[{1:s}]".format(str(when_t), countdown_item.name)) else: - self.bot.reply(event, "ok, i'll message {0:s} at {1:s}".format(sent_location, str(when_t))) + self.bot.reply(event, "ok, i'll message {0:s} at {1:s} 14[{2:s}]".format(sent_location, str(when_t), + countdown_item.name)) return 'NO MORE'