Commit graph

25 commits

Author SHA1 Message Date
jesopo
120acf54ec Add 'trace' logging level for src/Database.py and src/EventManager.py very
verbose debugging
2018-10-01 13:48:22 +01:00
jesopo
c87728a87d Move src/IRCLineHandler.py to modules/line_handler.py 2018-09-30 19:43:20 +01:00
jesopo
47ec11bbef Add src/Cache.py, use it in modules/coins.py 2018-09-29 12:53:39 +01:00
jesopo
dfe5cb0be8 Add IRCBot.directory, in case we need it. 2018-09-29 09:24:26 +01:00
jesopo
c5c2c50bc4 Correctly access bot_settings in Timers.py 2018-09-28 17:01:20 +01:00
jesopo
a8bf3c9300 Remove cyclical references to IRCBot 2018-09-28 16:51:36 +01:00
jesopo
af2b34b92b Don't give IRCBot instance to things that don't need it, use a better way of
doing default locations for config/database/log
2018-09-27 11:07:29 +01:00
jesopo
bb641b0870 Move log and database files to their own folders 2018-09-24 15:26:31 +01:00
jesopo
ecb9d7cb3f Move most code in root directory to src/ 2018-09-24 15:13:27 +01:00
jesopo
9b5c6b030c Ask for alias of first server in start.py 2018-09-23 10:40:19 +01:00
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