Commit graph

15 commits

Author SHA1 Message Date
jesopo
62df014b29 Don't pass around full server details more than we have to. 2018-09-21 11:34:38 +01:00
jesopo
fcbb7c960c Refactor everything to use delimited events 2018-09-19 13:25:12 +01:00
jesopo
1eed727bc5 Add !enablemodule and !disablemodule to modules.py 2018-09-13 13:35:05 +01:00
jesopo
9874f79b49 Give modules event objects with "context"s, to facilitate purging all the event
hooks for a module
2018-08-31 12:55:52 +01:00
jesopo
b6eae3220c Database.add_server -> Database.servers.add 2018-08-30 17:08:21 +01:00
jesopo
01a5032e87 Load whitelist in start.py, pass to ModuleManager.load_modules 2018-08-30 11:41:02 +01:00
jesopo
568d714fb2 Return config from Config.load_config instead of setting it on bot 2018-08-30 11:40:41 +01:00
jesopo
ce05b98f61 Moved table-specific logic to their own "table" classes in Database.py 2018-08-05 22:41:38 +01:00
jesopo
f24dc72bcb set default argparse config argument to bot.conf 2018-07-16 00:45:32 +01:00
jesopo
e89b4b6a83 Don't add a server to bot.servers until it's connected 2018-07-02 12:08:26 +01:00
jesopo
fd75b71286
Adds args.verbose and fixes a couple of bug 2017-01-27 21:41:47 +00:00
jesopo
afec1deb5c
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
jesopo
19083d3bf6
added command line options to start.py for config file and database file locaitons. 2016-03-31 13:20:56 +01:00
jesopo
87af05d4b6
added a "hashflag" to modules to stop modules being loaded that rely on a not-present config option. 2016-03-30 19:31:23 +01:00
jesopo
f943d63098
first commit. 2016-03-29 12:56:58 +01:00