Skip to content
/ lechbot Public

Asyncio IRC bot for #urlab on libera.chat 🤘

Notifications You must be signed in to change notification settings

UrLab/lechbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
lagaffe
Feb 11, 2025
e3d8807 · Feb 11, 2025
Jan 9, 2023
Feb 2, 2017
May 26, 2021
Nov 28, 2024
Mar 26, 2023
Jan 9, 2023
Apr 28, 2021
Dec 26, 2018
Apr 24, 2021
Jan 2, 2023
Feb 11, 2025
Nov 28, 2024
Nov 28, 2024
Nov 10, 2021
Nov 28, 2024
Jan 9, 2023
Mar 26, 2023
Jan 6, 2024
Nov 28, 2024

Repository files navigation

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