From 4e7a1f0b4de2009ae2b25880a3d307f856085986 Mon Sep 17 00:00:00 2001 From: Joseph Graham Date: Sun, 28 Aug 2016 16:18:43 +0100 Subject: Remove randomising of confirmation messages I want to make the pbot source code tidier and possibly lighter. Randomising of confirmations when you ask pbot to tell someone something serves no purpose. Removed. Now he alwyas sais "certainly". --- hack_of_all_hacks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack_of_all_hacks b/hack_of_all_hacks index f2d9e0a..2020021 100644 --- a/hack_of_all_hacks +++ b/hack_of_all_hacks @@ -299,7 +299,7 @@ EOF # when he gives it to it's recipient. echo "$(date +%s) ${personoslash} ${message}" >> "announcements/people/${subjectlower}/messages" - response=$(shuf -e 'certainly' 'I will do' 'OK' | head -1) + response='certainly' send_msg "${channel_it_came_from}" "${personoslash}: ${response}" -- cgit v1.2.3