Commit graph

29 commits

Author SHA1 Message Date
e259ca209c
Lint: Fix broken / missing nosec / nolint comments
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-09-06 00:35:20 +02:00
7fa2c2e4b6
Lint: Replace deprecated io/ioutil package
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-09-06 00:34:30 +02:00
e1a947494b
[core] Fix: Channel modification has StatusNoContent
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-23 17:25:06 +02:00
464212c757
[core] Re-check token validity more often than on expiry
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-20 14:32:11 +01:00
2c9a0adfa0
[core] Delete refresh token only for HTTP errors, not on connection issues
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-03-18 22:09:56 +01:00
3c36bbf546
[core] Lint: Fix linter complaining about complex function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-26 17:19:13 +01:00
f883bdd1c1
[core] Fix: Handle unauthorized error for app-access-tokens
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-17 00:54:16 +01:00
1d8c3e7f77
[core] Add deprecated but still used V5 ChannelEditor scope
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-01-09 17:35:32 +01:00
0afafa535d
[core] Fix: Ignore EventSub subscriptions of other bot instances
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-31 14:25:46 +01:00
437ef14fb0
[core] Implement dynamic token update and broadcaster permissions (#13) 2021-12-31 13:42:37 +01:00
78beeaa14b
[core] Add handling for channel point rewards
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-25 00:53:54 +01:00
f7d1f09b5c
[core] Fix: Do not retry any request with body
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-24 22:14:24 +01:00
dbb9aae82a
[core] Do not retry POST requests automatically
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-24 22:04:48 +01:00
2ba462fedc
[core] Add EventSub subscription prefetching
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-24 21:40:55 +01:00
f70382876a
[core] Add "follow" event using EventSub
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-24 20:26:14 +01:00
246bb2811d
[core] Improve EventSub API request design
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-24 19:59:20 +01:00
8247978151
[lint] Properly format inputs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-11-25 23:48:16 +01:00
7dd2640f3b
[core] Add moderator badge to broadcasters
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-11-09 12:55:08 +01:00
d75a719781
[core] Add EventSub support for Twitch-Events (#10) 2021-11-09 12:55:04 +01:00
34d1f90540
[core] add streamUptime / formatDuration template functions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-10-13 14:30:45 +02:00
b59676492e
Breaking: Add configuration interface and switch to more generic config format (#7) 2021-09-22 15:36:45 +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
c9e7d48477
Fix: Wrong HTTP method for channel update
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-10 19:46:03 +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
0d5996b1b7
Reduce cache time for stream info
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-02 23:28:15 +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
b47ffbfff7
Add plugin support to allow extending of functionality (#6) 2021-08-19 15:33:56 +02:00