diff options
author | Joseph Graham <joseph@colossus-debian-08-2016.home> | 2016-08-28 16:18:43 +0100 |
---|---|---|
committer | Joseph Graham <joseph@colossus-debian-08-2016.home> | 2016-08-28 16:18:43 +0100 |
commit | 4e7a1f0b4de2009ae2b25880a3d307f856085986 (patch) | |
tree | 6b00c306488058d7a036782b68deb7d57d329a3c | |
parent | 76a9031428dcfd669c905e4ff61c9ed59e65535d (diff) |
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".
-rw-r--r-- | hack_of_all_hacks | 2 |
1 files changed, 1 insertions, 1 deletions
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}" |