Commit graph

585 commits

Author SHA1 Message Date
89de50d035
Allow plugins to register template functions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-19 16:40:34 +02:00
b47ffbfff7
Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00
5404eb06fe
Fix: Apply preventCooldown before returning
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-12 00:46:14 +02:00
2d4efb4832
Add support to disable cooldown through the action module
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-12 00:12:10 +02:00
0dc19d8eed
Add method to send messages from within the bot without trigger
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-07 00:00:22 +02:00
71c708570c
Add validation mode for config
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-07-12 14:53:20 +02:00
890242845c
prepare release v0.15.0 2021-06-30 10:31:54 +02:00
04d415810d
Add example for generic chat-addable commands
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-30 01:37:41 +02:00
13a6dd5695
Add support for dynamic variables
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-29 14:08:26 +02:00
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
ac83a0a5e9
Move timers to storage to persist them
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-29 00:01:26 +02:00
8a37343127
Fix: Set channel for more events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-28 13:31:37 +02:00
f295ade136
prepare release v0.14.0 2021-06-17 18:37:50 +02:00
6d358b307f
Apply time-fix, json is not able to decode 2s but 2 which is ns
instead of s

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-17 18:08:52 +02:00
edd8a12af1
Add concat template function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-17 16:54:50 +02:00
56e138724b
Fix: Move disable check to other disable checks
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-14 23:55:23 +02:00
1b1c5daebf
Disable auto-messages in non-observed channels
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-14 23:50:20 +02:00
b8737a4286
Automatically leave channel when removed from config
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-14 23:43:37 +02:00
2069596d01
prepare release v0.13.0 2021-06-13 16:02:09 +02:00
dbb36bc941
Fix ID generation handling different automessages as same
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-13 15:45:19 +02:00
fbf1ae2f03
Fix: Do not try to log the function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-13 02:19:39 +02:00
c70ceedc7d
Fix: Do not try to log function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-11 18:02:08 +02:00
bafa9c26f9
Add debug message to find race-condition
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-11 15:32:45 +02:00
1f09c0c0ee
Fix: Do not access automessage attributes without lock
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-11 14:02:43 +02:00
ede8a95ed4
Use more flexible Actor format to allow addition of new actors (#5) 2021-06-11 13:52:42 +02:00
0db778f841
Add user- and channel-based cooldowns (#4) 2021-06-07 22:20:19 +02:00
d62985feb4
prepare release v0.12.0 2021-06-05 23:17:45 +02:00
d5ea1eb79f
Add "respond as reply" functionality
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-02 15:32:30 +02:00
9d2f770aa9
prepare release v0.11.0 2021-06-02 13:21:30 +02:00
5a47332258
Add retries to Twitch API calls
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-06-02 13:21:13 +02:00
95e802706f
prepare release v0.10.0 2021-05-27 14:19:44 +02:00
e18a519f36
Specify how to verify
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-26 15:41:37 +02:00
9c2aef9c5f
Add Whisper / RawMessage actions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-26 15:36:03 +02:00
477f07c963
Add whisper event
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-26 14:38:37 +02:00
b09404cef6
prepare release v0.9.0 2021-05-26 14:08:07 +02:00
e66eb2ce82
Add part event
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-26 14:03:37 +02:00
fe4ef6f2fc
Update Wiki for new mechanics
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-26 14:00:21 +02:00
ece2964c9a
Add traces for automessage disable
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-25 18:40:06 +02:00
14dbc832d7
Allow to disable automessages with templates
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-25 17:05:27 +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
714834e184
Fix: Permit check was broken and required permit for all
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-25 12:08:41 +02:00
9c020099e1
Add Disable and DisableOnTemplate attributes
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-25 01:23:23 +02:00
dac0553bdf
Fix: Tests fail when config is nil as of field usage
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-25 01:22:07 +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
215aed7b9e
prepare release v0.8.0 2021-05-24 22:51:50 +02:00
ca55834315
Fix: Display fallback when no category is set
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-24 21:53:17 +02:00
7bb9e2869d
Fix: Use fallback on empty display name
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-24 21:47:10 +02:00
487bce25d7
Add displayName template function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-24 21:42:55 +02:00
5339e866e5
Fix: Do not spam events when file is gone for longer
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-24 18:00:50 +02:00
50f1e01e3b
Replace non-reliable fsevents library with simple check
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-05-24 17:55:12 +02:00