forked from zgrep/happybot
10 lines
201 B
Bash
Executable file
10 lines
201 B
Bash
Executable file
#!/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;
|