Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit fe09c47

Browse files
committed
Fix connector not working for twitch subs
1 parent 2e37823 commit fe09c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/org/codeoverflow/chatoverflow/requirement/service/streamelements/StreamElementsListener.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class StreamElementsListener extends EventManager {
2828
case "superchat" => call(DonationEventJSON(json))
2929

3030
// Twitch
31-
case "subscription" => call(SubscriptionEventJSON(json))
31+
case "subscriber" => call(SubscriptionEventJSON(json))
3232
case "tip" => call(DonationEventJSON(json))
3333
case "follow" => call(FollowEventJSON(json))
3434
case "cheer" => call(CheerEventJSON(json))

0 commit comments

Comments
 (0)