forked from zgrep/happybot
Compare commits
No commits in common. "3b750cddd5e696ad093a4d5c0a592b86312c1bfe" and "dc103b9096f6e79a2bca928adedd11d604ecdd80" have entirely different histories.
3b750cddd5
...
dc103b9096
2 changed files with 2 additions and 2 deletions
|
@ -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" | zwsp | say;
|
echo ":D" | 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)" | zwsp | say;
|
python3 happybot/ichi.py "$(m 2)" | say;
|
||||||
fi;
|
fi;
|
||||||
done;
|
done;
|
||||||
|
|
Loading…
Reference in a new issue