Commit graph

21 commits

Author SHA1 Message Date
262742603c
[eventsub] Fix: Fetching existing subscriptions broken
as of fetch must not specify more than one filter

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-03 13:14:44 +02:00
1d4cbd9a66
[eventsub] Fix: Properly handle 409 error
by fetching the existing subscription instead of failing to access the
expected response which is not there in case of a collision

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-28 00:09:28 +01:00
0e4a963bc7
[eventsub] Fix: Twitch renamed field in adbreak_begin
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-25 22:23:31 +01:00
031ad331e4
[eventsub] Fix: Do not retry subscription on collision
resolves #TWITCH-BOT-7

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-22 21:29:07 +01:00
f2ac1acb17
[core] Add support for Hype-Train events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-04 00:13:37 +01:00
c78356f68f
Lint: Update linter config, improve code quality
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-01-01 17:52:39 +01:00
091dac235b
[eventsub] Update field naming for ad-break, use V1 event
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-12 16:00:08 +01:00
a9e4931271
Add support for beta Ad-Break event
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-10-22 16:20:58 +02:00
a4a3a7f81e
[eventsub] Replace IsMature tag in channel updates
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-07-04 00:05:04 +02:00
fc93c6e63b
[core] Export Twitch client Request
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-07-01 16:48:21 +02:00
04648a22e0
[eventsub] Add poll_begin, poll_end, poll_progress events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-05-21 14:59:06 +02:00
0e7af1cfc8
[eventsub] Switch to Websocket transport (#46)
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-05-18 15:09:25 +02:00
7126f6d7b7
[eventsub] Switch to v2 follows topic
as Twitch changed the policy which applications can use the v1 endpoint

> Update (2023-02-23): The deprecated “Get Users Follows” API
> endpoint and channel.follow (v1) EventSub subscription type now
> have limited access to minimize usage in new development leading up
> to the August 3 decommission date. The API endpoint is accessible
> to client IDs that have made requests on or before February 17,
> 2023. The v1 EventSub subscription type is accessible to client IDs
> that had an active subscription on February 17, 2023.
> (https://discuss.dev.twitch.tv/t/follows-endpoints-and-eventsub-subscription-type-are-now-available-in-open-beta/43322)

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-03-22 00:24:07 +01:00
f066b3fd2a
[eventsub] Add shoutout_created event
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-03-21 10:51:34 +01:00
8eaf676b13
[eventsub] Add shoutout_received event
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-02-11 23:10:16 +01:00
58f8cb7704
[editor] Add new moderator:read:followers scope and pin follow subscription version
refs https://discuss.dev.twitch.tv/t/follows-endpoints-and-eventsub-subscription-type-are-now-available-in-open-beta/43322

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-02-04 12:38:26 +01:00
48767c3494
[twitch] Fix: Pagination fetching broken for eventsub subscriptions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-12-24 17:28:51 +01:00
facd2e7b91
[core] Add more debugging for eventsub subscriptions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-12-24 17:13:13 +01:00
c52ce80bdc
[core] Add outbound_raid event
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-10-29 15:35:36 +02:00
064c7432ed
[core] Extend API and replace deprecated chat commands (#34) 2022-10-25 18:47:30 +02:00
a7533cbd8b
[core] Move storage to SQLite database (#30)
fixes #29
2022-09-10 13:39:07 +02:00
Renamed from twitch/eventsub.go (Browse further)