fix remind confirmation message

This commit is contained in:
iou1name 2020-01-14 15:02:55 -05:00
parent c424dd2658
commit 071cc2fec7

View File

@ -43,7 +43,7 @@ def remind(bot, trigger):
reminder = ' '.join(trigger.args[2:]) reminder = ' '.join(trigger.args[2:])
args = (trigger.channel, trigger.nick, reminder) args = (trigger.channel, trigger.nick, reminder)
bot.scheduler.add_task(announce_reminder, dt, args) bot.scheduler.add_task(announce_reminder, dt, args)
bot.reply("Okay, will remind at", dt.strftime('[%Y-%m-%d %H:%M:%S]')) bot.reply("Okay, will remind at " + dt.strftime('[%Y-%m-%d %H:%M:%S]'))
@module.commands('at') @module.commands('at')
@ -70,7 +70,7 @@ def at(bot, trigger):
args = (trigger.channel, trigger.nick, reminder) args = (trigger.channel, trigger.nick, reminder)
bot.scheduler.add_task(announce_reminder, dt, args) bot.scheduler.add_task(announce_reminder, dt, args)
bot.reply("Okay, will remind at", dt.strftime('[%Y-%m-%d %H:%M:%S]')) bot.reply("Okay, will remind at " + dt.strftime('[%Y-%m-%d %H:%M:%S]'))
def announce_reminder(bot, channel, remindee, reminder): def announce_reminder(bot, channel, remindee, reminder):