No description
Find a file
2016-04-10 17:31:05 +01:00
modules added the code to prevent users using certain commands based on permissions. 2016-04-06 18:23:02 +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 first commit. 2016-03-29 12:56:58 +01:00
EventManager.py first commit. 2016-03-29 12:56:58 +01:00
IRCBot.py made the client-side ping-out logic more badass. 2016-04-10 17:29:03 +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 this was supposed to be in the last commit. oops. 2016-04-10 17:30:44 +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 an extra check related to the --require-config hashflag, causing a non-true value to be counted as not present. 2016-04-06 16:03:38 +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 added a little piece of code to stop Utils.get_url trying to json decode an empty string. 2016-03-30 19:32: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.