|
6 months ago | |
---|---|---|
docs | 6 months ago | |
examples | 1 year ago | |
pyircbot | 6 months ago | |
tests | 6 months ago | |
tools | 3 years ago | |
.dockerignore | 1 year ago | |
.gitignore | 2 years ago | |
Dockerfile | 1 year ago | |
README.md | 3 years ago | |
requirements-test.txt | 1 year ago | |
requirements.txt | 1 year ago | |
run-example.sh | 1 year ago | |
run-tests.sh | 1 year ago | |
setup.py | 1 year ago |
A modular python IRC bot
python3 setup.py install
vim examples/config.json examples/data/config/Services.json
pyircbot -c examples/config.json
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.
cd docs ; make 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
.
Check Module Developer’s Guide in the docs
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.