jesopo
|
cf83c310dd
|
Change trace logging level from 5 to logging.DEBUG-1
|
2018-10-01 16:04:41 +01:00 |
|
jesopo
|
7eb31820d7
|
Add call_unsafe functions to EventManager.EventHook, to not swallow errors on
specific function calls (e.g. preprocess.command)
|
2018-10-01 16:04:06 +01:00 |
|
jesopo
|
6af738107b
|
Implement client-side bindhost
|
2018-10-01 14:06:50 +01:00 |
|
jesopo
|
59243f492f
|
Implement src/IRCObject.py to convert specific objects in to strings when
passing them to modules/scripts.py scripts
|
2018-10-01 13:48:55 +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
|
416d744291
|
Log remaining referrers to a module when it's unloaded
|
2018-09-30 20:12:28 +01:00 |
|
jesopo
|
43740d40f4
|
Add modules/strip_color.py
|
2018-09-30 20:12:11 +01:00 |
|
jesopo
|
c87728a87d
|
Move src/IRCLineHandler.py to modules/line_handler.py
|
2018-09-30 19:43:20 +01:00 |
|
jesopo
|
1f2c2b719b
|
Cache._items is a {id: [item, timeout]} dict, not {id: item}
|
2018-09-30 18:00:23 +01:00 |
|
jesopo
|
10ef985a8a
|
Switch to using docstring for usage, permission and require_mode
|
2018-09-30 17:29:09 +01:00 |
|
jesopo
|
16dc2c39a9
|
Refactor modules/channel_op.py and add !tempban/!tempkickban
|
2018-09-30 13:28:26 +01:00 |
|
jesopo
|
63fc39e448
|
Use a zero-width non-joiner to prevent highlights, instead of a zero-width
joiner
|
2018-09-29 15:57:15 +01:00 |
|
jesopo
|
bcb67db3fd
|
Add !reloadscripts to modules/scripts.py
|
2018-09-29 15:05:50 +01:00 |
|
jesopo
|
fe981f9911
|
Actually get "item" when a cached item expires
|
2018-09-29 13:37:19 +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
|
df2ebfb315
|
Give EventHook objects their full delimited event name
|
2018-09-29 09:24:10 +01:00 |
|
jesopo
|
0f7a122a84
|
Move hashflag parsing to Utils.get_hashflags
|
2018-09-29 09:23:40 +01:00 |
|
jesopo
|
5cd1936af9
|
Correct syntax of event call in Timers.call
|
2018-09-28 17:01:41 +01:00 |
|
jesopo
|
c5c2c50bc4
|
Correctly access bot_settings in Timers.py
|
2018-09-28 17:01:20 +01:00 |
|
jesopo
|
fe1b479b2c
|
Add missing 'self' to args of Timer.finish()
|
2018-09-28 17:01:00 +01:00 |
|
jesopo
|
2fecfbb700
|
Fix find_prefix functions in Database.py ('%s%' -> '%s%%')
|
2018-09-28 16:52:17 +01:00 |
|
jesopo
|
a8bf3c9300
|
Remove cyclical references to IRCBot
|
2018-09-28 16:51:36 +01:00 |
|
jesopo
|
5674dc4a82
|
Open module files explicitly as utf8 in ModuleManager
|
2018-09-27 12:35:09 +01:00 |
|
jesopo
|
6c63655a6e
|
Pass parent EventHook down to children
|
2018-09-27 12:16:30 +01:00 |
|
jesopo
|
8b0314b190
|
Use ModuleManager.BaseModule in more modules
|
2018-09-27 11:46:10 +01:00 |
|
jesopo
|
f3d98d0e95
|
Implement @Utils.export, to denote an export on a module
|
2018-09-27 11:45:23 +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
|
6b01c8bb04
|
Change IRCBot.reconnect to only pass server_id to IRCBot.add_server
|
2018-09-27 10:22:57 +01:00 |
|
jesopo
|
f261b6d744
|
Create delimited|multiple|events from the correct EventHook when using
delimited.event.chains
|
2018-09-26 20:28:05 +01:00 |
|
jesopo
|
4d41848b57
|
Also use docstrings to check if a command has help available, allow one-string
denotation of multiple event hooks
|
2018-09-26 18:26:29 +01:00 |
|
jesopo
|
ebc77fa501
|
Support using docstrings as command help
|
2018-09-26 15:58:16 +01:00 |
|
jesopo
|
8d946fb60b
|
Add !suggest, to get suggested searches from google
|
2018-09-26 14:36:33 +01:00 |
|
jesopo
|
b775f39d2b
|
Add missing format args in ModuleManager exceptions
|
2018-09-26 11:20:18 +01:00 |
|
jesopo
|
39c4ef1749
|
Don't use assert, throw a better exception for module name collisions
|
2018-09-26 11:19:48 +01:00 |
|
jesopo
|
12f68f55a7
|
IRCBot.bot_directory is no longer used
|
2018-09-24 17:29:06 +01:00 |
|
jesopo
|
a0b39043c0
|
Use 'bitbot_%s' import name format when unloading a module
|
2018-09-24 16:20:58 +01:00 |
|
jesopo
|
301a973aad
|
Import modules internally as 'bitbot_%s' to avoid name collisions (e.g.
'telegram')
|
2018-09-24 16:15:17 +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 |
|