forked from zgrep/happybot
Compare commits
2 Commits
dc103b9096
...
3b750cddd5
Author | SHA1 | Date |
---|---|---|
zgrep | 3b750cddd5 | |
Wolfgang Müller | 73a0c15bf6 |
|
@ -4,6 +4,6 @@
|
||||||
|
|
||||||
irc | while read -r n m; do
|
irc | while read -r n m; do
|
||||||
if reg '^(happy|hate)bot[:,] :D$' "$m"; then
|
if reg '^(happy|hate)bot[:,] :D$' "$m"; then
|
||||||
echo ":D" | say;
|
echo ":D" | zwsp | say;
|
||||||
fi;
|
fi;
|
||||||
done;
|
done;
|
||||||
|
|
|
@ -4,6 +4,6 @@
|
||||||
|
|
||||||
irc | while read -r n m; do
|
irc | while read -r n m; do
|
||||||
if reg '^(happy|hate)bot[:,] ichi (.*)' "$m"; then
|
if reg '^(happy|hate)bot[:,] ichi (.*)' "$m"; then
|
||||||
python3 happybot/ichi.py "$(m 2)" | say;
|
python3 happybot/ichi.py "$(m 2)" | zwsp | say;
|
||||||
fi;
|
fi;
|
||||||
done;
|
done;
|
||||||
|
|
Loading…
Reference in New Issue