Commit graph

32 commits

Author SHA1 Message Date
e1f11a6c98
[eventsub] Make topic subscriptions more dynamic
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-13 23:14:50 +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
d74105bc00
[eventsub] Switch to channel.update/2
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-07-21 23:55:03 +02:00
49aba55cfe
[core] Clean IPs from socket errors
in order not to log IPs (GDPR) and also to prevent spread of errors in
Sentry logging as IP/Port combinations are unique per connection and
therefore will spam with many unique errors. By removing the unique
information from the error the errors should be groupable again.

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-24 14:59:36 +02:00
217545fc68
[eventsub] Add status field to poll_end event
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-05 22:55:45 +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
7accdea9d9
[core] Adjust logging for channel meta updates to match other events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-05-21 13:52:40 +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
11d85b6087
[eventsub] Fix wrong channel in shoutout_received event
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-03-29 00:23:21 +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
0a937a65d0
prepare release v3.0.0
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-11-02 22:54:52 +01:00
c52ce80bdc
[core] Add outbound_raid event
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-10-29 15:35:36 +02:00
1409a4bd34
[lint] Fix v2 import path not carrying version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-10-23 15:06:45 +02:00
a7533cbd8b
[core] Move storage to SQLite database (#30)
fixes #29
2022-09-10 13:39:07 +02:00
5a9e589ff5
[#26] Fix: Modify channel module not working for editor-bots (#27) 2022-04-23 17:24:49 +02:00
a4b6036da0
[core] Fix: EventSub messages had misformatted channel
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-02-05 23:50:30 +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
f70382876a
[core] Add "follow" event using EventSub
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-12-24 20:26:14 +01:00
8247978151
[lint] Properly format inputs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-11-25 23:48:16 +01:00
8ba6d2ef08
[core] BREAKING: Allow actors to set fields those after them (#11)
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-11-15 21:14:40 +01:00
d75a719781
[core] Add EventSub support for Twitch-Events (#10) 2021-11-09 12:55:04 +01: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
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