Introduction
Introduction Statistics Contact Development Disclaimer Help
Add wtf command. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 2cf182ff80176dc20617143ce995df2980bd2ddb
parent 48647364bf141df71f0bb482ed71f620fdc20a19
Author: Annna Robert-Houdin <[email protected]>
Date: Tue, 7 Jan 2025 07:14:33 +0100
Add wtf command.
Thanks to eidolon for the suggestion.
Diffstat:
M annna-message-common | 5 +++++
1 file changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -892,6 +892,11 @@ case "${text}" in
updownword="$(updown "${word}")"
annna-say -s "${server}" -c "${channel}" "${word} -> ${updownword}"
;;
+"${ircuser}, wtf "*)
+ word="$(printf "%s\n" "${text}" | cut -c 11-)"
+ wtfword="$(wtf "${word}")"
+ annna-say -s "${server}" -c "${channel}" "${user}, ${wtfword}"
+ ;;
"${ircuser}, please give me a good band name.")
bandname="$(bandname-gen | shuf | head -n 1)"
annna-say -s "${server}" -c "${channel}" "${bandname}"
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.