No description
Find a file
2016-04-18 16:48:36 +01:00
modules started passing some more helpful info when preprocessing a command. 2016-04-18 16:48: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 added a new settings table for bot settings in general. 2016-04-14 16:44:27 +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 helper functions to IRCBot to utilise the new bot settings table. 2016-04-14 16:48:17 +01:00
IRCChannel.py changed code to avoid a crash when some ircd will show a mode being removed from someone that didn't have it in the first place. 2016-04-10 17:31:05 +01:00
IRCLineHandler.py added some more mode event firing and removed unneeded debug printing. 2016-04-04 12:36:23 +01:00
IRCLog.py first commit. 2016-03-29 12:56:58 +01:00
IRCServer.py added a socket timeout to IRCServer socket objects. 2016-04-18 16:48:04 +01:00
IRCUser.py made commands work in channel AND in private message. 2016-03-29 16:22:22 +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 tinkered with some modules and fixed a few bugs, also added the skeleton for the auto_mode.py module. 2016-04-03 13:20:05 +01:00
Utils.py simpler boolean channel settings 2016-04-10 17:40:58 +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.