https://github.com/silverrainz/labots
Flexible IRC bot framework.
https://github.com/silverrainz/labots
irc irc-bot irc-bot-framework
Last synced: 8 months ago
JSON representation
Flexible IRC bot framework.
- Host: GitHub
- URL: https://github.com/silverrainz/labots
- Owner: SilverRainZ
- License: gpl-3.0
- Archived: true
- Created: 2016-06-14T08:33:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-09-05T05:29:00.000Z (over 3 years ago)
- Last Synced: 2025-05-13T04:56:57.422Z (8 months ago)
- Topics: irc, irc-bot, irc-bot-framework
- Language: Python
- Homepage:
- Size: 132 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
LABots
======
v1.3
Flexible IRC bot framework.
Features
--------
* Run multiple bots with single IRC instance
* Bots do not affect each other
* Useful and flexible IRC bot interface
* Dynamic {load,unload} bots when they are modified
* Asynchronous socket
Requires
--------
* python 3
* python-pyinotify >= 0.9.4
* python-tornado >= 3.2.2
* python-yaml
Usage
-----
Install LABots (optional): `python setup.py install`
Run LABots: Create file `config.yaml` as follow, and run `labots -c config.yaml`
in the same directory (If you don't want to install LABots in your system,
just run `./labots.py -c config.yaml` in project directory).
config.yaml
e.g:
host: irc.freenode.net # IRC server
port: 6666 # Port
nick: labots # IRC bot nick name
path: bots # Path of bot scripts
LABots will loads all bot scripts in `bots` directory, when script file
(*.py) or configure file (*.json) changed, bot script will be reload
automatically. file which name starts with `_` or `.` will be ignored.
Write a bot: See `bots/example.py` or
Bots
----
See .
References
----------
* https://github.com/lilydjwg/archrepo2
* https://github.com/nod/iobot
* https://github.com/LukeusMaximus/Python-IRC-Bot-Framework
* https://github.com/lilydjwg/winterpy
License
-------
GPL3