jesopo
|
b43a5a7c74
|
Add -N to start.py to disable to-file logging
|
2019-03-04 19:35:18 +00:00 |
|
jesopo
|
41cc90cb72
|
Add -m/-M help strings, move --version/-v to stop of argparser
|
2019-02-24 10:45:54 +00:00 |
|
jesopo
|
faa305f2e8
|
Add -m/-M args to ./start.py that call command_line on individual modules
|
2019-02-24 10:43:46 +00:00 |
|
jesopo
|
276d753711
|
Change --verbose short to -V, add --version/-v, add IRCBot.VERSION
|
2019-02-24 08:37:42 +00:00 |
|
jesopo
|
d8244ccae3
|
Add faulthandler (and faulthandler.enable() ) to start.py
|
2019-02-11 11:43:14 +00:00 |
|
jesopo
|
14db95601c
|
Add an -L argument to start.py, to explicity specify log level
|
2019-02-09 16:40:23 +00:00 |
|
jesopo
|
9e8db0ec62
|
Log any unhandled (critical) exceptions that happen under bot.run() in
start.py
|
2018-11-26 14:07:01 +00:00 |
|
jesopo
|
426c6ff1c9
|
'args.log' -> 'args.log_dir' in start.py
|
2018-11-26 11:13:48 +00:00 |
|
jesopo
|
8cd069d37d
|
'bot.log' -> 'trace.log' and add a 'warn.log' log file that only catches
warn-and-worse
|
2018-11-26 11:09:43 +00:00 |
|
Evelyn
|
8cd7393d17
|
Regression: Don't connnect if a server's 'connect' setting is false
|
2018-11-24 12:14:36 +00:00 |
|
jesopo
|
ca965e20cc
|
bool_input moved to utils.cli
|
2018-11-14 10:27:15 +00:00 |
|
jesopo
|
73c0c911d4
|
Move logic for adding a server to the database out to utils.cli and add a
--add-server flag for start.py, to add new server
|
2018-11-13 10:40:49 +00:00 |
|
jesopo
|
28a00e01de
|
Don't load modules if we don't have any servers configured
|
2018-11-05 21:39:30 +00:00 |
|
jesopo
|
e901f105dd
|
Actually pass timers to src/ModuleManager.py
|
2018-10-12 18:13:48 +01:00 |
|
jesopo
|
819f4e0680
|
Pass context-wrapped timers to each module, add ModuleManager.BaseModule.on_load
|
2018-10-12 18:07:23 +01:00 |
|
jesopo
|
0a5aef09b4
|
Fix start.py not giving the right arguments to database.servers.add
|
2018-10-03 16:00:25 +01:00 |
|
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 |
|