Your untrustworthy mate for everyday insights.
Go to file
2021-06-29 17:52:59 +02:00
edmond random: only pick a choice if there are at least 2 2021-06-29 17:52:59 +02:00
resources plugin: handle resource files in configs 2020-10-09 16:03:09 +02:00
.gitignore capture: add plugin for a little game 2021-06-06 18:53:52 +02:00
config.json.example random: only pick a choice if there are at least 2 2021-06-29 17:52:59 +02:00
Dockerfile docker: use SIGINT as stop signal 2021-06-06 17:36:41 +02:00
Pipfile bot: clean 2020-10-09 22:37:35 +02:00
Pipfile.lock bot: clean 2020-10-09 22:37:35 +02:00
README.md docker: add Dockerfile with instructions 2020-11-06 11:43:29 +01:00

Edm0nd

New version of the infamous IRC bot.

Installation

Clone the repository.

The preferred installation way is using Docker:

# Build image with dependencies.
docker build -t edmond --build-arg UID=1000 --build-arg GID=1000 .
# Run container with config/resources/storage mount.
docker run -d \
    -it \
    -v $(pwd)/config.json:/app/config.json \
    -v $(pwd)/resources:/app/resources \
    -v $(pwd)/storage.json:/app/storage.json \
    edmond \
    -c config.json

Else you can install dependencies and run it in a virtual env:

pipenv install
pipenv run pip install -r edmond/plugins/requirements.txt
pipenv run python -m edmond