No description
Find a file
2018-08-05 12:52:29 +01:00
modules Put milliseconds in logging.py 2018-08-05 12:13:25 +01:00
.gitignore switch to using configparser for config files 2018-07-16 00:36:52 +01:00
bot.conf.example switch to using configparser for config files 2018-07-16 00:36:52 +01:00
Config.py switch to using configparser for config files 2018-07-16 00:36:52 +01:00
Database.py Add "user_channel_settings" table in Database.py, for settings per user per 2018-08-05 12:52:29 +01:00
EventManager.py move priority constants to root of EventManager namespace 2018-07-15 23:53:59 +01:00
IRCBot.py Added addition "find" methods to Database.py, along with a "get all" for user 2018-08-03 13:43:45 +01:00
IRCChannel.py Add "user_channel_settings" table in Database.py, for settings per user per 2018-08-05 12:52:29 +01:00
IRCLineHandler.py "self.nick" event didn't get updated 2018-08-03 16:39:53 +01:00
IRCLog.py Handle empty CAP, additional IRCLog feature, better tls, better channel_save logic, add sed-sender-only setting 2017-10-27 13:15:33 +01:00
IRCServer.py Only get "fallback-encoding" setting when we need it 2018-08-05 11:42:25 +01:00
IRCUser.py nickname_ids was useless 2018-08-04 12:10:10 +01:00
LICENSE Initial commit 2016-03-29 12:44:46 +01:00
ModuleManager.py assert statements are optimised out, these statement were useless. 2018-01-09 15:35:33 +00:00
README.md switch to using configparser for config files 2018-07-16 00:36:52 +01:00
start.py set default argparse config argument to bot.conf 2018-07-16 00:45:32 +01:00
Timer.py did what I said I would sooner than I thought I would. centralised persisting timers through bot restarts. 2016-04-19 13:25:50 +01:00
Utils.py Added highlight spam detection/prevention logic to channel_op 2017-12-26 11:50:18 +00: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.