Commit graph

429 commits

Author SHA1 Message Date
2b1502e64f
[templating] Fix: Use fields to get channel to support events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-29 18:49:32 +02:00
f249c25317
[templating] Fix: State might not be present
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-29 18:41:52 +02:00
87df2040e4
[templating] Add botHasBadge function
to allow checking for moderation permissions in channels

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-29 18:23:29 +02:00
7e2f0ab020
[editor] Mark fully disabled rules in list
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-22 17:04:43 +02:00
13ecfd7204
[wiki] Move examples to extra page, update to new config format
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-22 16:11:11 +02:00
f48eb5e86e
prepare release v1.0.0 2021-09-22 15:39:11 +02:00
b59676492e
Breaking: Add configuration interface and switch to more generic config format (#7) 2021-09-22 15:36:45 +02:00
a1e9c35430
prepare release v0.18.0 2021-09-17 17:35:27 +02:00
ac751605a8
Allow to skip cooldown on script error
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-17 14:49:56 +02:00
6a154008f2
Link: Do not export pointer to loop variable
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-13 01:57:03 +02:00
aa547d137f
Fix: Do not break all rules, just the current one
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-11 20:04:47 +02:00
7c75e94ade
Add modchannel core module
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-10 19:52:30 +02:00
c9e7d48477
Fix: Wrong HTTP method for channel update
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-10 19:46:03 +02:00
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