Correct die spelling. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 9f01a4d6178989ed5ebba2e9f3765d20a1d5dc0c | |
parent 082001360c20fe94cdc9ab9235ccc4a3279a4a9c | |
Author: Annna Robert-Houdin <[email protected]> | |
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(-) | |
--- | |
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 b… |