Commit graph

27 commits

Author SHA1 Message Date
50a155ddb2
Lint: Update linter list, disable gomnd for some lines
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-29 00:05:11 +02:00
ede8a95ed4
Use more flexible Actor format to allow addition of new actors (#5) 2021-06-11 13:52:42 +02:00
b6d59045d0
Add global variables to be used in templates
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-25 16:26:03 +02:00
60fe2621c4
Drop HCL support (causes too much effort for too little benefit)
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-25 01:01:46 +02:00
aa649da902
Add HCL config format support
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-24 17:36:16 +02:00
aa735fc01f
Unlock auto-messages to prevent dead-locks
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-11 01:01:12 +02:00
ef0767e396
Log all config loads
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-11 00:45:27 +02:00
d1e63f0c2b
Log amount of loaded rules on reload
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-11 00:24:36 +02:00
29fd5f25f5
Lint: Reduce complexity of loadConfig function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-04-21 20:03:25 +02:00
5a2620b316
Add raw-log functionality
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-04-09 18:14:44 +02:00
b2b1401ded
Move rule to own source file
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-03-27 18:00:56 +01:00
95be0de55b
Add automated messages (#2) 2021-03-27 17:59:56 +01:00
396a6452d9
Fix: Channel name must be stripped
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-03-21 15:09:22 +01:00
c18f96f889
Allow to specify user-groups to skip cooldown
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-03-21 14:36:28 +01:00
f6a1c33cb7
Add config parameter to disable rule on offline stream
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-03-21 14:06:13 +01:00
cc8160ec67
Fix: Allow templating to read user input
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-03-06 01:42:40 +01:00
6a218030a0
Add counter_set support
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-03-06 01:35:20 +01:00
1ade654a13
Improve timer entries
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-01-24 01:46:40 +01:00
2a1b8d2a6c
Add fallback text for failed respond templates
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-01-21 01:00:04 +01:00
6d9484be2d
Add command action to execute arbitrary logic
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-01-10 22:15:57 +01:00
433b84fcb7
Add users matching
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-12-31 19:46:55 +01:00
3a3959c79c
Add delete action for single message
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-12-27 14:42:51 +01:00
58e984a4f4
Fix: Broken caching of regular expressions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-12-25 21:03:57 +01:00
f2f4d43412
Fix: Permits must only count for one channel
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-12-24 15:59:11 +01:00
914f0a8a24
Use strings array for channel matching
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-12-24 15:07:20 +01:00
6e4af652b9
Add DisableOnMatchMessages functionality
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-12-22 01:46:37 +01:00
da62d913c8
Initial version 2020-12-21 01:33:57 +01:00