Add preliminary song marking support. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 6527e25f91eb4aa2ac91da5bafc020c786f99983 | |
parent 6015441240793efa25ce81bc7c1e02ba17f05084 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Fri, 24 Dec 2021 12:51:20 +0100 | |
Add preliminary song marking support. | |
Diffstat: | |
M annna-message-radio | 5 +++++ | |
1 file changed, 5 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/annna-message-radio b/annna-message-radio | |
@@ -15,6 +15,11 @@ case "${text}" in | |
annna-say -c "${channel}" "You are very kind ${user}. To your command." | |
exit # no common messages | |
;; | |
+"${botname}, please mark this.") | |
+ songtitle="$(/br/bin/bitreich-radio-playlist-mark)" | |
+ annna-say -c "${channel}" "${user}, I have marked \"${songtitle}\" for… | |
+ exit | |
+ ;; | |
"${botname}, please help.") | |
annna-say -c "${user}" "»next please.« gets the playlist further, ${… | |
annna-say -c "${user}" "»please help.« gives you this help listing, … |