Awesome IRC bot
Go to file
2021-03-04 13:12:12 -08:00
docs Add stockindex module 2020-07-02 12:03:53 -07:00
examples add announce channel 2019-10-06 09:39:18 -07:00
pyircbot Update StockIndex.py 2021-03-04 13:03:59 -08:00
tests add replyto field to privmsg ircevent messages 2020-07-02 11:20:00 -07:00
tools Add metadata interchange to pubsub mode 2018-01-16 18:24:32 -08:00
.dockerignore Docs update 2019-02-11 12:01:35 -08:00
.gitignore Ignore test asciis 2018-03-28 21:10:55 -07:00
Dockerfile Move dockerfile 2019-02-11 12:06:36 -08:00
README.md Update docs with testing info 2017-12-03 21:14:18 -08:00
requirements-test.txt Docs update 2019-02-11 12:01:35 -08:00
requirements.txt Docs update 2019-02-11 12:01:35 -08:00
run-example.sh py 3.7 2019-02-09 00:33:06 -08:00
run-tests.sh Move dockerfile 2019-02-11 12:06:36 -08:00
setup.py Add 24h historical loss/gain to StockPlay 2019-02-11 22:46:03 -08:00

pyircbot3

A modular python IRC bot

Quick start

  • Install: python3 setup.py install
  • Configure: vim examples/config.json examples/data/config/Services.json
  • Run: pyircbot -c examples/config.json

Running in docker

A dockerfile is included at examples/docker/. From the root of this repository, run docker build -t pyircbot -f examples/docker/Dockerfile . to build it. Typical use is mounting a directory from the host onto /srv/bot; this dir should contain config.json and any other dirs it references.

Building Docs

  • Install sphinx and all modules pyircbot depends on
  • cd docs ; make html
  • Open _build/index.html

Or, use my pre-built copy here.

Alternatively, use the included Dockerfile to create an environment for building the docs. Check docs/builder/README.md.

Developing Modules

Check Module Developers Guide in the docs

Tests

PyIRCBot has great test coverage. After installing the contents of requirements-test.txt, the script ./run-tests.sh will run all tests. See the contents of the script for more information. See README.md in ./tests/ for more info.

TODO

  • Improve/complete docs
  • Write config checker