Skip to content

BruceZhang1993/Avalon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Avalon is a log bot for irc.

Configuration

You can find Avalon config file at config folder. Edit it for your own customize.

Multi-Tables Support

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.

Logbot

Use Directly

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

Use Through Docker

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.

Server

TBD

About Avalon

Avalon

Avalon is a Warmech in Implosion.

About

Avalon is a log bot for irc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 61.8%
  • TypeScript 21.9%
  • Python 10.9%
  • HTML 3.0%
  • CSS 2.4%