No description
Find a file
2016-07-10 23:44:37 +01:00
modules s/tflstop/tflsearch/ 2016-07-10 23:44:37 +01:00
.gitignore first commit. 2016-03-29 12:56:58 +01:00
bot.json.example s/tfl-app/tfl-api/ 2016-07-09 15:23:07 +01:00
Config.py first commit. 2016-03-29 12:56:58 +01:00
Database.py fixed a problem with Database.py. 2016-06-28 00:08:40 +01:00
EventManager.py added a very unreliable and BAD IDEA way to unload modules. 2016-04-14 16:47:33 +01:00
IRCBot.py tweaked reconnection logic. 2016-07-05 12:18:13 +01:00
IRCChannel.py added a way for a command callback to neatly ask to only be available for people with a rank or above, added a channel_op module to utilise this. 2016-04-18 16:50:19 +01:00
IRCLineHandler.py decided to not track user realnames as there's no real purpose and it means bitbot does not have to whois newly joined people. 2016-04-22 11:48:59 +01:00
IRCLog.py first commit. 2016-03-29 12:56:58 +01:00
IRCServer.py fixed a minor (but crash-causing) typo in IRCServer.py. 2016-05-17 17:58:20 +01:00
IRCUser.py decided to not track user realnames as there's no real purpose and it means bitbot does not have to whois newly joined people. 2016-04-22 11:48:59 +01:00
LICENSE Initial commit 2016-03-29 12:44:46 +01:00
ModuleManager.py added _cleanup(), a function called if present on a module before being unloaded. 2016-04-18 16:47:12 +01:00
README.md changed README.md a little. 2016-04-06 09:41:25 +01:00
start.py added tracking certain words in words.py and fixed/changed a couple of things to allow it to work. 2016-04-06 09:40:49 +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 changed Utils.get_url to catch SSL errors. 2016-07-05 12:18:47 +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.json.example. move it to bot.json, 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.)

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.