No description
Find a file
2018-08-31 10:35:07 +01:00
modules A start on .decoy for ducks. 2018-08-31 06:27:41 +01:00
.gitignore Added rotated log files to gitignore 2018-08-08 20:24:51 +01:00
bot.conf.example switch to using configparser for config files 2018-07-16 00:36:52 +01:00
Config.py Return config from Config.load_config instead of setting it on bot 2018-08-30 11:40:41 +01:00
Database.py Revert the god awful database edits I made and make ducks.py convert to int. Might be an idea to make a make_int function? 2018-08-31 05:48:53 +01:00
EventManager.py Log exceptions when calling events 2018-08-30 14:56:27 +01:00
IRCBot.py return "None" timeouts when there's no servers in IRCBot.servers 2018-08-30 17:20:55 +01:00
IRCBuffer.py Forgot to add IRCBuffer.py when I renamed it from IRCLog.py. oops. 2018-08-29 12:55:20 +01:00
IRCChannel.py Refactor handling MODE in IRCLineHandler 2018-08-30 11:12:48 +01:00
IRCLineHandler.py Fix a copy paste fail in IRCLineHandler that caused PARTs to be handled as QUITs 2018-08-31 10:35:07 +01:00
IRCLogging.py Log exceptions when calling events 2018-08-30 14:56:27 +01:00
IRCServer.py IRCServer.remove_own_mode doesn't take an "arg" 2018-08-30 11:17:00 +01:00
IRCUser.py modules/logging.py -> IRCLogging.py; IRCLog.py -> IRCBuffer.py; change logging 2018-08-28 12:23:57 +01:00
LICENSE Initial commit 2016-03-29 12:44:46 +01:00
ModuleManager.py Load whitelist in start.py, pass to ModuleManager.load_modules 2018-08-30 11:41:02 +01:00
README.md switch to using configparser for config files 2018-07-16 00:36:52 +01:00
start.py Merge in (#5) 2018-08-30 17:12:37 +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 Only show 2 biggest units in !seen 2018-08-29 15:52:04 +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.