|
36 | 36 | count int |
37 | 37 | description string |
38 | 38 | gameID string |
| 39 | + tier string |
39 | 40 | timestamp string |
40 | 41 | charityCurrentValue int |
41 | 42 | charityTargetValue int |
@@ -121,6 +122,7 @@ func init() { |
121 | 122 | triggerCmd.Flags().Int64VarP(&cost, "cost", "C", 0, "Amount of bits or channel points redeemed/used in the event.") |
122 | 123 | triggerCmd.Flags().StringVarP(&description, "description", "d", "", "Title the stream should be updated with.") |
123 | 124 | triggerCmd.Flags().StringVarP(&gameID, "game-id", "G", "", "Sets the game/category ID for applicable events.") |
| 125 | + triggerCmd.Flags().StringVarP(&tier, "tier", "", "", "Sets the subscription tier. Valid values are 1000, 2000, and 3000.") |
124 | 126 | triggerCmd.Flags().StringVarP(&eventID, "subscription-id", "u", "", "Manually set the subscription/event ID of the event itself.") // TODO: This description will need to change with https://github.com/twitchdev/twitch-cli/issues/184 |
125 | 127 | triggerCmd.Flags().StringVar(×tamp, "timestamp", "", "Sets the timestamp to be used in payloads and headers. Must be in RFC3339Nano format.") |
126 | 128 | triggerCmd.Flags().IntVar(&charityCurrentValue, "charity-current-value", 0, "Only used for \"charity-*\" events. Manually set the current dollar value for charity events.") |
@@ -189,6 +191,7 @@ func triggerCmdRun(cmd *cobra.Command, args []string) { |
189 | 191 | Description: description, |
190 | 192 | ItemName: itemName, |
191 | 193 | GameID: gameID, |
| 194 | + Tier: tier, |
192 | 195 | SubscriptionStatus: subscriptionStatus, |
193 | 196 | Timestamp: timestamp, |
194 | 197 | CharityCurrentValue: charityCurrentValue, |
|
0 commit comments