Avalon is a log bot for irc.
You can find Avalon config file at config
folder. Edit it for your own customize.
After you set db_multi
to True
, Avalon would save messages into different dbs <base name>:<year>-<month>
according to current time. Make sure you grant correct privileges to db user.
Avalon uses irc and pymongo, so you have to install these two libraries before run the script:
pip install -r bot/requirements.txt
finally, run script:
./run_bot.py
This is the recommendable way for running Avalon. You have to build the image at first:
docker build -f bot/Dockerfile -t avalon .
after building success, you can just run Avalon image right away:
docker run --name=avalon -d -v $(pwd)/config:/avalon/config -p <whaterver port>:<mongodb port> avalon
that's all.
TBD
Avalon is a Warmech in Implosion.