Commit graph

29 commits

Author SHA1 Message Date
jesopo
ae9d099a41 Refactor set/channelset/serverset/botset in to 'utils.Setting' objects 2019-06-28 23:16:05 +01:00
jesopo
268c5adb3c Add depends-on hashflags to relevant modules 2019-05-25 21:40:06 +01:00
jesopo
cf29c37112 Add usage examples for all settings 2019-05-23 10:28:14 +01:00
jesopo
0fc2dd8754 You can't minus a set from a list (auto_mode.py) 2019-02-21 21:14:57 +00:00
jesopo
1da66fb72d Only give users auto_modes they don't already have (auto_mode.py) 2019-02-21 21:14:09 +00:00
jesopo
827832b2d2 Add channel_access attributes to auto_mode.py commands 2019-02-21 21:10:06 +00:00
jesopo
186b6b82a2 Shift formatting protocol data to it's own file: utils.irc.protocol 2019-02-18 14:58:27 +00:00
jesopo
36e838d585 Delete automodes user_channel setting when it's empty (auto_mode.py) 2019-02-04 08:45:48 +00:00
jesopo
0bb2491399 The event fired when we get an account-notify message iss
`received.account.login`, not `received.account` (auto_mode.py)
2019-01-27 07:16:41 +00:00
jesopo
403227b6df Check automode when BitBot joins a channel 2018-10-13 22:21:51 +01:00
jesopo
e96c983dca Check a channel's automode when automode is turned on in modules/auto_mode.py 2018-10-12 10:57:47 +01:00
jesopo
23b7223fae Add !syncmodes in modules/auto_mode.py, fire internal.identified in
modules/permissions.py and catch it in modules/auto_mode.py to give users modes
when they identify using the internal identity mechanism
2018-10-11 11:20:53 +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
6eb8b1ba6d Move all exports to @Utils.export calls 2018-09-27 12:08:07 +01:00
jesopo
51a52e2b0e Switch to using @Utils.hook and docstrings for event hooks 2018-09-26 18:27:17 +01:00
jesopo
ecb9d7cb3f Move most code in root directory to src/ 2018-09-24 15:13:27 +01:00
jesopo
9be8c1d90c Set +o/+v on a user if they're in the channel at the time of !addop/!addvoice 2018-09-06 18:13:02 +01:00
jesopo
dee26c45be addvoice/removevoice should use "v" not "o" 2018-09-06 18:10:12 +01:00
jesopo
c8309d96ea Only do automode when a user is identified, also do automode on an IRCv3
ACCOUNT command
2018-09-06 18:06:29 +01:00
jesopo
25ef1965fd Finally implement auto_mode.py! 2018-09-06 17:58:53 +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
b699c120a0 Change how specific events assure their hooks gets the event independant of
loading order
2018-08-28 14:55:08 +01:00
jesopo
0cc72d5d66 Added a "replay" system to EventManager hooks, to replay missed .calls 2017-12-26 10:32:36 +00:00
Evelyn
190d42fbb5 simpler boolean channel settings 2016-04-10 17:40:58 +01:00
jesopo
a348bf4241
fixed some dumb typos 2016-04-03 17:08:48 +01:00
jesopo
e10ba5f293
added some more to the skeleton of the auto_mode module. 2016-04-03 13:23:47 +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