IRC integration of UrLab
# build l'image
docker build -t lechebot .
# pour usage rapide:
# --rm le docker est supr au moment de le stop
docker run --rm lechebot
docker run -it --rm lechebot bash # run bash to manually start lechbot and choose comand line options
$ git clone git@github.com:urlab/lechbot
$ cd lechbot
$ virtualenv -p python3.9 ve3
$ source ve3/bin/activate
$ pip install -r requirements.txt
Create a file called local_config.py (in the same directory as config.py), and edit config values as needed. In order to test the bot locally, you might be interested in runnning an instance of UrLab's Incubator.
to use the sudo plugin you need to add a sudoers.json files in the data/
sudoers.json:
{
"users": []
}
with the user names of the sudoers in the users array (you can allways add some later using the bot command or modifying the file)
$ python lechbot.py [ --debug ]
For a minimal setup, add --local
so that lechbot won't try to poll from twitter or other distant APIs.
$ python lechbot.py --irc [ --debug ]
See the documentation's quickstart