選択できるのは25トピックまでです。
トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
Michael Murtaugh 368f0dccbb | 4年前 | |
---|---|---|
pipebot | 4年前 | |
.gitignore | 4年前 | |
1_peter_rabbit.txt | 4年前 | |
README.md | 4年前 | |
ircbot.ipynb | 4年前 | |
ircpipebot.py | 4年前 | |
parody-bot.ipynb | 4年前 | |
reversebot.py | 4年前 | |
simplebot.py | 4年前 |
README.md
A small selection of IRC bots
simplebot.py is a really minimal bot (meant as a proof of concept and starting point) written in standard library python 3. The source is from IRC Hacks, Paul Mutton, 2004.
ircpipebot and reversebot make use of the irc module, installable with:
pip3 install irc
Pipebot
Testing
python -u ircpipebot.py | python -u pipebot/echo_split.py
Closing the loop
mkfifo pipe.fifo
cat pipe.fifo | python -u ircpipebot.py > pipe.fifo
cat pipe.fifo | python -u ircpipebot.py | python -u pipebot/echo_split.py > pipe.fifo
or
cat pipe.fifo | \
python -u ircpipebot.py | \
python -u pipebot/echo_split.py \
> pipe.fifo