countdown: print the item name on new reminders

this is so that we can delete them later

bss/dr.botzo#33
This commit is contained in:
Brian S. Stephan 2017-03-02 09:37:18 -06:00
parent 6f9bbd304f
commit 44c8863d35
1 changed files with 3 additions and 2 deletions

View File

@ -165,9 +165,10 @@ class Countdown(Plugin):
log.info("created countdown item %s", str(countdown_item)) log.info("created countdown item %s", str(countdown_item))
if in_privmsg: 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: 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' return 'NO MORE'