10 lines
201 B
Bash
10 lines
201 B
Bash
|
#!/usr/bin/env ash
|
||
|
|
||
|
. /home/zgrep/offtopiabday/happybot/common.sh
|
||
|
|
||
|
irc | while read -r n m; do
|
||
|
if reg '^(happy|hate)bot[:,] ichi (.*)' "$m"; then
|
||
|
python3 happybot/ichi.py "$(m 2)" | say;
|
||
|
fi;
|
||
|
done;
|