Introduction
Introduction Statistics Contact Development Disclaimer Help
Add n-word support to annna. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit e58290d413cb48ad1bd901410f76bdcf75746e22
parent 96e3fcb53ee91f811b566fe43b04a2974af5f7c0
Author: Annna Robert-Houdin <[email protected]>
Date: Thu, 9 Sep 2021 19:07:14 +0200
Add n-word support to annna.
Diffstat:
M annna-message-common | 4 ++++
A n-word | 7 +++++++
2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -354,6 +354,10 @@ case "${text}" in
"${botname}, please pray for me.")
annna-say -c "${channel}" "${user}, here, for you: gopher://bitreich.o…
;;
+"${botname}, nigger.")
+ nword="$(n-word)"
+ annna-say -c "${channel}" "${user}, don't use the ${nword}!"
+ ;;
"${botname}, why was I breached?")
breachtext="$(why-was-i-breached)"
if [ -n "${breachtext}" ];
diff --git a/n-word b/n-word
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+curl -s https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.h…
+ | 9 htmlfmt \
+ | grep '\[ n].*word' \
+ | shuf -n 1
+
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.