Commit graph

366 commits

Author SHA1 Message Date
3e5d3d0532
Break actions execution when one action fails
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-10 19:45:41 +02:00
7f641ebe1e
Fix: Initialize core plugins after main components are set up
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-10 19:45:31 +02:00
c59ef05faa
Transform broadcaster name into ID
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-10 19:20:31 +02:00
2b67673e95
Add category search and channel update
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-10 19:09:10 +02:00
9451354d30
Expose GetIDForUsername function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-10 19:08:49 +02:00
44673eadd2
Expose TwitchClient to plugins
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-10 17:57:04 +02:00
0a8bf4db0d
Add fallback support to group matches
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-08 15:09:01 +02:00
9852fc3a91
Support sending message to different channel
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-03 12:37:31 +02:00
ebde2da41d
Wiki: Document variables for events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-03 00:15:46 +02:00
df9fe579ea
Fix: Use derivation function for template fields
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-03 00:13:28 +02:00
7b921e1b3e
Lint: Fix wrong receiver name
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-03 00:05:46 +02:00
0d5996b1b7
Reduce cache time for stream info
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-02 23:28:15 +02:00
06ec111163
Fix: Nil pointer segfaults due to direct access to message object
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-02 23:26:39 +02:00
cfcc90feea
Fix: Provide channel in fields for Twitch events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-02 22:21:27 +02:00
57211b6184
Fix: Message may be nil with new events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-02 17:59:57 +02:00
0984aeb60b
Fix: Load initial channel set to watcher
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-02 17:54:28 +02:00
2eb12900b9
Fix: Do not send update when not asked to
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-02 17:40:38 +02:00
43849052e1
Fix: Set initial value
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-02 17:39:21 +02:00
a414a44190
Log changes in Twitch meta for events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-02 17:33:48 +02:00
dbca96a138
Add Twitch events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-02 17:09:30 +02:00
e4d4c45e7a
Add registration for raw-message-handlers
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-02 15:01:10 +02:00
f0b6556083
prepare release v0.17.0 2021-08-28 22:17:43 +02:00
d1acb85297
Lint: "Fix" two linter errors
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-28 17:58:31 +02:00
2f1d8ff76d
Re-work HTTP API, create API for counter and setvariable modules
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-28 17:27:24 +02:00
404ece80ed
Provide HTTP server and registration function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-25 20:55:02 +02:00
47f314af4e
Provide central cron service to plugins
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-25 00:44:49 +02:00
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