Make tech-hype a script. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 314239aca54b0fbdfb5aeda20a9920774d4053da | |
parent d82e024276f173939cf39942eae8d32d55f7c0c6 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Wed, 12 Apr 2023 19:40:02 +0200 | |
Make tech-hype a script. | |
Diffstat: | |
M annna-message-common | 2 +- | |
A tech-hype | 5 +++++ | |
2 files changed, 6 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/annna-message-common b/annna-message-common | |
@@ -695,7 +695,7 @@ case "${text}" in | |
annna-say -s "${server}" -c "${channel}" "${user}, *wave*" | |
;; | |
"${ircuser}, please tech hype me.") | |
- techstr="$(${modbase}/markov_tech/markov)" | |
+ techstr="$(tech-hype)" | |
annna-say -s "${server}" -c "${channel}" "${techstr}" | |
;; | |
"${ircuser}, please coffee read "*) | |
diff --git a/tech-hype b/tech-hype | |
@@ -0,0 +1,5 @@ | |
+#!/bin/sh | |
+ | |
+hypebase="$HOME/bin/modules/markov_tech" | |
+${hypebase}/markov | |
+ |