Skip to content

UrLab/lechbot

Repository files navigation

LechBot

IRC integration of UrLab

Installation

$ git clone git@github.com: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