No description
Find a file
2016-06-28 00:09:05 +01:00
modules tweaked karma.py. 2016-06-24 13:10:36 +01:00
.gitignore first commit. 2016-03-29 12:56:58 +01:00
bot.json.example added spotify.py and soundcloud.py, updated bot.json.example. 2016-04-06 13:56:12 +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 fixed reconnection logic, using the internal timer logic. 2016-06-28 00:09:05 +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 added handling URLError to Utils.get_url. 2016-06-24 09:17:54 +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.