Merged
Conversation
Testing verify trigger and retrigger (on the raid topic at least) Notable faults/issues Random ID usage on CP Reward add and TRN Event, this probably needs to be lifted to a field (seperate PR?)
Contributor
Author
|
This seems to have broken the retrigger_even_test though... Having a look :-D |
Contributor
Author
|
The fixed broken test was using the subscription ID as the store/retrieval Key which is what 322 tried to fix. |
Xemdo
approved these changes
Jul 4, 2024
Contributor
|
Tested --item-id on $ ./twitch-cli event trigger transaction --item-id=TEST
{
"subscription": {
"id": "6b5b7bda-1dff-fabe-a3e2-2b40c50eec11",
"status": "enabled",
"type": "extension.bits_transaction.create",
"version": "1",
"condition": {
"extension_client_id": "gxuerabxs2v7p04d6gi4ob1zx40za2"
},
"transport": {
"method": "webhook",
"callback": "null"
},
"created_at": "2024-07-07T04:22:45.667109775Z",
"cost": 1
},
"event": {
"id": "e8881664-29b8-a228-8635-b7f1f354ed6b",
"extension_client_id": "gxuerabxs2v7p04d6gi4ob1zx40za2",
"broadcaster_user_id": "80885621",
"broadcaster_user_login": "testBroadcaster",
"broadcaster_user_name": "testBroadcaster",
"user_name": "testUser",
"user_login": "testUser",
"user_id": "75350923",
"product": {
"name": "Test Trigger Item from CLI",
"sku": "TEST",
"bits": 100,
"in_development": true
}
}
}Same for $ ./twitch-cli event trigger channel.channel_points_custom_reward_redemption.add --item-id=TESTTESTTEST
{
"subscription": {
"id": "5f19bc21-2bdb-2f81-bf6c-ab63052f0c78",
"status": "enabled",
"type": "channel.channel_points_custom_reward_redemption.add",
"version": "1",
"condition": {
"broadcaster_user_id": "73985649"
},
"transport": {
"method": "webhook",
"callback": "null"
},
"created_at": "2024-07-07T04:24:49.78028451Z",
"cost": 0
},
"event": {
"id": "4148a820-405b-c633-a231-a9738bf60100",
"broadcaster_user_id": "73985649",
"broadcaster_user_login": "testBroadcaster",
"broadcaster_user_name": "testBroadcaster",
"user_id": "37829274",
"user_login": "testFromUser",
"user_name": "testFromUser",
"user_input": "Test Input From CLI",
"status": "unfulfilled",
"reward": {
"id": "TESTTESTTEST",
"title": "Test Reward from CLI",
"cost": 150,
"prompt": "Redeem Your Test Reward from CLI"
},
"redeemed_at": "2024-07-07T04:24:49.78028451Z"
}
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Complete the work in #322 as it broke things instead and fix #329
Testing verify trigger and retrigger (on the raid topic at least)
Notable faults/issues
Random ID usage on CP Reward add and TRN Event, this probably needs to be lifted to a field (seperate PR?)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Problem/Feature
Description of Changes:
Checklist