Commit graph

43 commits

Author SHA1 Message Date
jesopo
2947b92792 Show result when a setting is unset 2019-04-07 17:45:35 +01:00
jesopo
5611f4ceef Strip "-" from setting name when first checking if it exists 2019-04-07 17:43:00 +01:00
jesopo
56dcc2306b Remove "-" from setting name before getting its value 2019-04-07 17:38:52 +01:00
jesopo
444f37c3da Add a way to unset a setting with !config 2019-04-07 17:36:29 +01:00
jesopo
d4c7c41c79 Add !config command, to group all settings activities in to 1 command 2019-04-07 14:00:27 +01:00
jesopo
cd93118571 server.get_channel was moved to server.channels.get a long time ago (set.py) 2019-01-30 19:40:20 +00:00
jesopo
b0d67e5170 Use correct arg indexes for private channelset (set.py) 2019-01-30 19:07:34 +00:00
jesopo
b197a537f0 Add a private channelset command (set.py) 2019-01-30 11:16:42 +00:00
jesopo
bb84fc0291 Add a permission to !channelunset and !channelget (set.py) 2019-01-30 08:10:41 +00:00
jesopo
5e5a62044c We don't need a seperate command for !channelset override (set.py) 2019-01-29 07:18:03 +00:00
jesopo
e62b3b58f4 "set" -> "channelset" for channel-related unset (set.py) 2019-01-10 22:43:12 +00:00
jesopo
0e9d2b3180 Add !unset and !channelunset (and !channelunsetoverride) (set.py) 2019-01-10 22:41:35 +00:00
jesopo
47b17def99 Sort list of available settings for set/channelset/etc (set.py) 2019-01-03 22:02:51 +00:00
jesopo
764e1e3245 Prevent setting values to array settings and prevent adding to non-array
settings
2018-12-05 12:13:29 +00:00
jesopo
6308ec86b7 Remove accidentally-added additional argument in modules/set.py.bot_set 2018-11-12 20:33:56 +00:00
jesopo
dbe0d6cdab Treat "low"/"high" as synonymous with "v"/"o" but with a settable override in
modules/check_mode.py
2018-11-10 22:32:44 +00:00
jesopo
6234334a7c I decided to not specifically handle printing arrays in !get/!channelget/etc but
forgot to remove this code
2018-11-06 17:35:59 +00:00
jesopo
8789689393 Remove additional 'False' in modules/set.py that was an artefact of the first
attempt to support array setting
2018-11-06 13:48:32 +00:00
jesopo
7d71da47a0 Typo in modules/set.py; '=' -> '==' 2018-11-06 13:44:33 +00:00
jesopo
2921ed77ae Support arrays of user/channel/bot/server settings 2018-11-06 13:01:30 +00:00
jesopo
95e98563d5 Typo on modules/set.py; 'events.call' -> 'events.on' 2018-10-16 23:13:19 +01:00
jesopo
787053b605 Fire an event when a user/channel/server/bot setting is set in modules/set.py 2018-10-12 10:57:11 +01:00
jesopo
69eda4bf1b Allow user/channel/server/bot settings to be "hidden" from settings lists in
modules/set.py
2018-10-06 17:16:17 +01:00
jesopo
57b72a94c5 Implement !botset/!botget in modules/set.py 2018-10-04 17:09:52 +01:00
jesopo
69d58eede2 Move src/Utils.py in to src/utils/, splitting functionality out in to modules of
related functionality
2018-10-03 13:22:37 +01:00
jesopo
10ef985a8a Switch to using docstring for usage, permission and require_mode 2018-09-30 17:29:09 +01:00
jesopo
8b0314b190 Use ModuleManager.BaseModule in more modules 2018-09-27 11:46:10 +01:00
jesopo
51a52e2b0e Switch to using @Utils.hook and docstrings for event hooks 2018-09-26 18:27:17 +01:00
jesopo
2346eeffd0 Don't add a qualifier for server settings 2018-09-09 09:38:35 +01:00
jesopo
0f292f4617 Add !serverset and !serverget 2018-09-09 09:34:55 +01:00
jesopo
f2626a829b Switch set.py to use delimited events 2018-09-09 09:26:56 +01:00
jesopo
8c6ab17e57 give an Exports object (actually, ExportsContex object) to each module, to
facilitate things like !set and !channelset without using the events system
2018-09-02 19:54:45 +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
b2259c2ea8 Added !channelsetoverride in set.py 2018-08-28 14:55:57 +01:00
jesopo
e424e3b294 fixed typos in !channelget 2018-08-08 20:49:34 +01:00
jesopo
ee86848b62 Added !get and !channelget 2018-08-08 20:45:57 +01:00
jesopo
84cc65526f Track user channel modes by user object, not nickname 2018-07-02 16:15:26 +01:00
jesopo
0cc72d5d66 Added a "replay" system to EventManager hooks, to replay missed .calls 2017-12-26 10:32:36 +00:00
jesopo
efa8c91552
used set.py as an example for the new usage command. 2016-04-05 18:41:33 +01:00
jesopo
504e93a78d
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
jesopo
8843d9a469
removed yet more left over code from when commands were channel-only. 2016-03-31 13:37:08 +01:00
jesopo
7de9970cd0
added help strings where they were missing. 2016-03-29 14:37:35 +01:00
jesopo
f943d63098
first commit. 2016-03-29 12:56:58 +01:00