No description
Find a file
2018-09-17 13:49:48 +01:00
modules Typo in sasl.py; proceed with sasl regardless of mechanism when using CAP 3.1 2018-09-17 13:25:11 +01:00
.gitignore Ignore .key/.crt in .gitignore 2018-09-17 10:55:53 +01:00
bot.conf.example Add support for TLS client certificate/key 2018-09-17 10:55:39 +01:00
Config.py
Database.py
EventManager.py Change default priority to "medium", add priority lower than "low" ("monitor") 2018-09-09 17:08:38 +01:00
Exports.py
IRCBot.py Don't return 0 as "time until next ping" when we've already sent a ping. return 2018-09-11 18:25:27 +01:00
IRCBuffer.py Utils.irc_lower and Utils.irc_equals take an IRCServer parameter 2018-09-11 10:15:16 +01:00
IRCChannel.py Utils.irc_lower and Utils.irc_equals take an IRCServer parameter 2018-09-11 10:15:16 +01:00
IRCLineHandler.py In handling raw.part, remove_channel after calling self.part instead of before 2018-09-17 13:09:22 +01:00
IRCServer.py 'USER <username> 0 * :<realname>' is technically more correct, per RFC2812, than 2018-09-17 13:49:48 +01:00
IRCUser.py Utils.irc_lower and Utils.irc_equals take an IRCServer parameter 2018-09-11 10:15:16 +01:00
LICENSE
Logging.py
ModuleManager.py Add !enablemodule and !disablemodule to modules.py 2018-09-13 13:35:05 +01:00
README.md
start.py Add !enablemodule and !disablemodule to modules.py 2018-09-13 13:35:05 +01:00
Timer.py
Utils.py Utils.irc_lower was returning an unchanged string because .replace on a string 2018-09-17 13:09:45 +01:00

BitBot

Python3 event-driven modular IRC bot!

Dependencies

Configurating

To get BitBot off the ground, there's some API-keys and the like in bot.conf.example. move it to bot.conf, fill in the API keys you want (and remove the ones you don't want - this will automatically disable the modules that rely on them.)

Eagle

BitBot's National Rail module can optionally include output from Network Rail's SCHEDULE via Eagle. Configuration on BitBot's end is covered by the eagle- keys in bot.conf.example.

Running

Just run ./start.py

On first boot, he'll ask for a first server to connect to then exit. do ./start.py again and he'll connect to that server and join #bitbot (to get him to join other channels, simply invite him to them.)

Data storage

The main data storage for Bitbot is done in his sqlite3 database, bot.db.