Introduction
Introduction Statistics Contact Development Disclaimer Help
Add #nospoil for hashtags, which disables all hashtag handling. - annna - Annna…
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit d3f9a2bffae1bcfd5f0452897b95de2d7af8b598
parent 7684b046a07d8eec6c0c6d4b293ed84b7b861d61
Author: Annna Robert-Houdin <[email protected]>
Date: Wed, 26 Dec 2018 14:46:51 +0100
Add #nospoil for hashtags, which disables all hashtag handling.
* add #noticket hashtag
Diffstat:
M annna-start-services | 6 ++++++
1 file changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/annna-start-services b/annna-start-services
@@ -12,6 +12,7 @@ export PATH="$PATH:/usr/lib/plan9/bin"
# Bitreich members who are allowed to run certain commands.
brmembers="__20h__ Evil_Bob chripo posativ quinq stateless solene josuah paraz…
+# Only #nospoil will not work.
hashtags="#magic https://www.youtube.com/watch?v=NFQCYpIHLNQ
#10 https://www.youtube.com/watch?v=JbepN4dKLbU
#jew https://www.youtube.com/watch?v=H4T21NJkaUE
@@ -22,6 +23,7 @@ hashtags="#magic https://www.youtube.com/watch?v=NFQCYpIHLNQ
#sensual https://www.youtube.com/watch?v=Y1PVmANeyAg
#russian https://www.youtube.com/watch?v=tVj0ZTS4WF4
#french https://www.youtube.com/watch?v=QSo0duY7-9s
+ #noticket https://www.youtube.com/watch?v=iHSPf6x1Fdo
#doc https://www.youtube.com/watch?v=_CgsH-ZdaLw"
botname="annna"
@@ -206,9 +208,13 @@ then
taguri="${tag}"
case "${text}" in
+ *\#nospoil*)
+ break;
+ ;;
*${tagname}*)
annna-say -c "#bitreich-en" "${tagname}: ${tag…
break;
+ ;;
esac
tagname=""
done
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.