On Subscribe
Twitchentry.onSubscribeFires when a viewer subscribes (standalone or gifted). Binds the subscriber, tier, and whether it was gifted.Triggers on a subscription; tier is 1, 2, or 3.Outputs
| out | Exec | exec | None |
| userId | Data | System.String | multiplexed |
| displayName | Data | System.String | multiplexed |
| tier | Data | System.Int32 | multiplexed |
| isGift | Data | System.Boolean | multiplexed |
Parameters
| cooldownSeconds | System.Int32 | no | 0 | None |
| perUserCooldownSeconds | System.Int32 | no | 0 | None |
| debounceMs | System.Int32 | no | 0 | None |
| dedupeKey | System.String | no | "" | None |
| maxConcurrency | System.Int32 | no | 0 | None |
Lowers to C#
[OnSubscribe] Handle(ctx, SubscribeContext e)