Correct die spelling. - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit 9f01a4d6178989ed5ebba2e9f3765d20a1d5dc0c
(DIR) parent 082001360c20fe94cdc9ab9235ccc4a3279a4a9c
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Sun, 25 Aug 2024 20:48:47 +0200
Correct die spelling.
Thanks pazz0!
Diffstat:
M annna-message-common | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/annna-message-common b/annna-message-common
@@ -1071,11 +1071,11 @@ case "${text}" in
# https://en.wikipedia.org/wiki/Dice_notation
# six-sided dice one time
[ -z "${q}" ] && q="d6"
- [ "${q}" = "a dice " ] && q="d6"
+ [ "${q}" = "a die " ] && q="d6"
[ "${q}" = "dice " ] && q="d6"
dicescore="$(dice "${q}")"
- annna-say -s "${server}" -c "${channel}" "${dicescore}"
+ annna-say -s "${server}" -c "${channel}" "${user}, ${dicescore}"
;;
"${ircuser}, please tell me your favourite flower.")
annna-say -s "${server}" -c "${channel}" "My favourite flower is the beer flower."