Add gopherproject-specific message script. - annna - Annna the nice friendly bo… | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 5060bd6724210e913005783f29268119c331ff24 | |
parent 9e3d9aaf73d82a832e49ab79588e70d2f5c2c1ff | |
Author: Annna Robert-Houdin <[email protected]> | |
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(-) | |
--- | |
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}" | |
+ |