twitchdev / twitch-cli

The official Twitch CLI to make developing on Twitch easier.
Apache License 2.0
604 stars 71 forks source link

Support for larger drop payloads #298

Closed lleadbet closed 10 months ago

lleadbet commented 10 months ago

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Problem/Feature

Allows for the twitch event trigger drop.entitlement.grant to leverage the --cost/-C flag to pass a number of drops for the payload.

The payload will generate fresh IDs per event as to avoid causing collisions for developers, but otherwise works as advertised.

Description of Changes:

Checklist