No description
Find a file
2024-02-12 20:50:40 +02:00
.gitignore Incorporate o3-base 2021-01-20 19:58:33 +02:00
bot.conf.example Update o3-base to support non-interactive usage 2021-12-12 16:46:52 +02:00
botcmd.py Remove obsoleted startcmd.txt feature 2021-05-02 00:43:15 +03:00
CC0 Use the CC0 file 2019-05-11 14:37:22 +03:00
channel.py Add support for closing the channel 2018-03-30 23:14:24 +03:00
constants.py Log connection attempts to server 2021-12-12 16:45:52 +02:00
cron.py Add ping timeouting 2017-12-10 17:43:39 +02:00
eliza.py Convert to python3 and hook up to o3-base 2021-01-20 20:00:50 +02:00
ircbot.py Handle connection being reset 2024-02-12 19:19:40 +02:00
line_handling.py Only pass bytestrings (and not bytearrays) to user code 2018-06-14 10:50:30 +03:00
o2_botcmd.py Fix #invite message for py3 2021-07-25 22:05:21 +03:00
README Remove obsoleted startcmd.txt feature 2021-05-02 00:43:15 +03:00
UNLICENSE Use the CC0 file 2019-05-11 14:37:22 +03:00

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)