You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Juhani Krekelä d19fe50188 Update o3-base to revert previous and handle buffered stdout for logs 12 months ago
.gitignore Incorporate o3-base 2 years ago
CC0 Use the CC0 file 4 years ago
README Remove obsoleted startcmd.txt feature 2 years ago
UNLICENSE Use the CC0 file 4 years ago
bot.conf.example Update o3-base to support non-interactive usage 12 months ago
botcmd.py Remove obsoleted startcmd.txt feature 2 years ago
channel.py Add support for closing the channel 5 years ago
constants.py Log connection attempts to server 12 months ago
cron.py Add ping timeouting 5 years ago
eliza.py Convert to python3 and hook up to o3-base 2 years ago
ircbot.py Flush log output after each line in case output is buffered 12 months ago
line_handling.py Only pass bytestrings (and not bytearrays) to user code 5 years ago
o2_botcmd.py Fix #invite message for py3 1 year ago

README

Not that ugly IRC bot. In fact, ircbot.py is quite nice.
(3 years later) Actually, I take that one back. That's quite horrible.

eliza.py is not part of oonbotti2, and is under a BSD-style license. Original
can be found at http://www.jezuk.co.uk/cgi-bin/view/software/eliza

Setup
-----
You should create following files:

trusted.txt: People that have access to #op and friends. Format is
"##ingsoc nortti\n##ingsoc foobar\n". The account names are case
sensitive.
gods.txt: Same as above, except can't be #untrust'ed
msgs.txt: Messages that haven't been delivered. Leave it empty
bot.conf: See bot.conf.example

Run `python3 ircbot.py`

Console commands
----------------
q: Quit

You can also run arbitrary IRC commands by prefixing them with '/'. The command
is converted to upper case, but line is otherwise sent raw

Contributions
-------------
* FireFly: Join back to auto-join channels on /invite (original)