Create annna keynote command. - annna - Annna the nice friendly bot.
HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
---
DIR commit d51217de31a4c3b607cb1b47084ef4af896a033e
DIR parent d2569cfbd1f0bd45810b4082684c0d5dba09ab15
HTML Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Sun, 4 Aug 2024 16:58:21 +0200
Create annna keynote command.
Diffstat:
M annna-message-common | 7 +++++++
1 file changed, 7 insertions(+), 0 deletions(-)
---
DIR diff --git a/annna-message-common b/annna-message-common
@@ -542,6 +542,13 @@ case "${text}" in
suri="$(printf "%s\n" "${word}" | bitreich-speak)"
annna-say -s "${server}" -c "${channel}" "${suri}"
;;
+"${ircuser}, please hold your keynote at brcon2024.")
+ keynotefile="/home/20h/con/2024/keynote/keynote.wav"
+ annna-say -s "${server}" -c "${channel}" "Please follow gophers://bitreich.org/9/radio/listen."
+ {
+ bitreich-radio-play "${keynotefile}"
+ } &
+ ;
"${ircuser}, what can I cook with "*)
ingredients="$(printf "%s\n" "${text}" | cut -c 29- | sed 's,\t, ,g')"
case "$ingredients" in