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ä cc71019578 Fix #invite message for py3 2 years 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 Remove obsoleted startcmd.txt feature 2 years ago
botcmd.py Remove obsoleted startcmd.txt feature 2 years ago
channel.py Add support for closing the channel 5 years ago
constants.py Add API.set_nick, .set_channels, .log 5 years ago
cron.py Add ping timeouting 6 years ago
eliza.py Convert to python3 and hook up to o3-base 2 years ago
ircbot.py Add built-in authentication to o3-base 2 years ago
line_handling.py Only pass bytestrings (and not bytearrays) to user code 5 years ago
o2_botcmd.py Fix #invite message for py3 2 years 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)