ProtoFlux:Twitch Subscription Event

From Resonite Wiki
Revision as of 14:14, 31 March 2024 by Decoy (talk | contribs) (Created page with "{{#Invoke:ProtoFlux|GenerateUI |Name=Twitch Subscription Event |Category=Twitch |Inputs= [ ] |Outputs= [ {"Name": "OnSubscription", "Type": "Call"}, {"Name": "UserId", "Type": "String"}, {"Name": "DisplayName", "Type": "String"}, {"Name": "Message", "Type": "String"}, {"Name": "Months", "Type": "int"}, {"Name": "Plan", "Type": "SubscriptionPlan"}, {"Name": "IsResub", "Type": "bool"}, {"Name": "IsGifted", "Type": "bool"}, {"Name": "GiftedBy", "Type": "String"}, {"Name": "...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Twitch Subscription Event
OnSubscription
UserId
DisplayName
Message
Months
Plan
IsResub
IsGifted
GiftedBy
IsAnonymous
Interface
null
Twitch

This node provides Twitch subscription information from a TwitchInterface.

Note that all outputs are generated on a new Twitch chat message, and will not display any information when connected to a display node.

OnSubscription (Call)

Fires on receiving a new Twitch subscription event.

UserId (String)

Outputs the Twitch Channel ID of the subscriber.

DisplayName (String)

Outputs the Twitch username of the subscriber.

Message (String)

Outputs the contents of the message as a text string.

Months (Int)

Shows how many months the subscriber has subscribed for.

Plan (SubscriptionPlan)

Shows the subscription plan type as a custom constant type called SubscriptionPlan.

IsResub (Bool)

Shows if the subscription is a re-subscription.

IsGifted (Bool)

Shows if the subscription was gifted from another Twitch user.

GiftedBy (String)

Shows the name of the Twitch user who gifted the subscription, if gifted.

IsAnonymous (Bool)

Shows if the subscription was gifted from an anonymous Twitch user.