No description
Find a file
2016-05-17 14:51:15 +01:00
modules on second thought, should probably only show people their nickname's permissions when they're identified. 2016-05-17 14:51:15 +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 added get_server to Database.py, for some future use. dunno. 2016-04-29 12:43:22 +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 added code to allow you to keep a server in the database but not connect to it. 2016-04-27 11:56:37 +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 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
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 a function to Utils to get the "closest" setting, with channel/user settings being more important than server-wide settings. 2016-05-06 13:36:01 +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.