Commit graph

340 commits

Author SHA1 Message Date
984223e6ac
prepare release v0.16.0 2021-08-21 19:16:05 +02:00
d880d7cb00
Update dependencies and bring plugin example to work with master
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-19 22:58:10 +02:00
8c9f9c549b
Lint: Ignore gocritic for fatal program exit not running unlock
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-19 17:27:47 +02:00
810e18c93a
Move to Go1.17 mod-file, update dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-19 17:24:20 +02:00
33f7739b6b
Disable CGO for default container
and therefore disable plugin support

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-19 17:18:37 +02:00
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