Add gopherproject-specific message script. - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit 5060bd6724210e913005783f29268119c331ff24
(DIR) parent 9e3d9aaf73d82a832e49ab79588e70d2f5c2c1ff
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Fri, 31 Dec 2021 12:42:56 +0100
Add gopherproject-specific message script.
Diffstat:
A annna-message-gopherproject | 16 ++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/annna-message-gopherproject b/annna-message-gopherproject
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+modbase="/home/annna/bin/modules/"
+botname="annna"
+
+server="$1"
+channel="$2"
+user="$3"
+text="$4"
+
+[ "$user" = "${botname}" ] && exit
+
+# Nothing so far for gopherproject.
+
+annna-message-common "${channel}" "${user}" "${text}"
+