On Gift Sub
Twitchentry.onGiftSubFires when a viewer gifts a community subscription bundle. Binds the gifter (or Anonymous) and how many subs were gifted.Triggers on a gifted-sub bundle; total is the gift count.Outputs
| out | Exec | exec | None |
| gifterName | Data | System.String | multiplexed |
| total | Data | System.Int32 | multiplexed |
| tier | Data | System.Int32 | multiplexed |
| isAnonymous | 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#
[OnGiftSub] Handle(ctx, GiftSubContext e)