Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 993 Bytes

README.md

File metadata and controls

41 lines (28 loc) · 993 Bytes

LechBot

IRC integration of UrLab

Installation via docker

# build l'image
docker build -t lechebot .
# pour usage rapide:
# --rm le docker est supr au moment de le stop
docker run --rm lechebot

Installation en local

$ git clone [email protected]:urlab/lechbot
$ cd lechbot
$ virtualenv -p python3.9 ve3
$ source ve3/bin/activate
$ pip install -r requirements.txt

Configuration & run

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.

Test in command line only

$ python lechbot.py [ --debug ]

For a minimal setup, add --local so that lechbot won't try to poll from twitter or other distant APIs.

Connect to irc

$ python lechbot.py --irc [ --debug ]

Write your own bot

See the documentation's quickstart