From 5924057a843d79c08fada28b550f70c14d396cdf Mon Sep 17 00:00:00 2001 From: TC <tc.arise@giboulees.net> Date: Sun, 22 Jun 2014 15:49:52 +0000 Subject: [PATCH] Add the next event time to successful add/sub operations --- Modules/Remind.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Modules/Remind.pm b/Modules/Remind.pm index 0c751f3..bc6249d 100644 --- a/Modules/Remind.pm +++ b/Modules/Remind.pm @@ -877,7 +877,10 @@ sub add_remind $::logger->debug("Added"); $s_params =~ s/(\d+)$/#$1/ if($s_params !~ /#\d+$/i); - $conn->privmsg($reply_to, "I've added $s_params, as you said"); + my $msg = "I've added $s_params, as you said. \x0302Next will be sent on " + . localtime($sched_event->time) . "."; + + $conn->privmsg($reply_to, $msg); } else { -- GitLab