Add some random fun to meme regexp. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 36ea9faad5d7da9f85bf9e4362e15258cd4aaef8 | |
parent 2f7c3e7bd9dbee632b85aa9809817bebfd0568cf | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Thu, 28 Dec 2023 17:39:05 +0100 | |
Add some random fun to meme regexp. | |
Diffstat: | |
M annna-message-common | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/annna-message-common b/annna-message-common | |
@@ -1306,7 +1306,7 @@ do | |
*) | |
esac | |
- if tagline="$(grep "${tag} " "${hashtagfile}" | head -n 1)"; | |
+ if tagline="$(grep "${tag} " "${hashtagfile}" | shuf -n 1)"; | |
then | |
if [ $nospoil -eq 0 ]; | |
then |