Comments (3)
Good catch! I was unable to find this issue in other pubsub/kraken/helix classes
from twitch4j.
Is resolved in alpha.24 by #125.
from twitch4j.
Looks like the fix didn't work... I also don't know why but the remapping doesn't work... We're definitely using alpha.24 now and we also checked the change landed in there.
Twitch response:
[01:04:40] [ReadingThread/WARN]: [ReadingThread] TRACE com.github.twitch4j.pubsub.TwitchPubSub - Received WebSocketMessage: {"type":"MESSAGE","data":{"topic":"community-points-channel-v1.433891793","message":"{\"type\":\"reward-redeemed\",\"data\":{\"timestamp\":\"2020-05-12T23:04:40.590591444Z\",\"redemption\":{\"id\":\"c4fd0057-c44a-4d8f-9a2d-ba7ace89ad2c\",\"user\":{\"id\":\"433891793\",\"login\":\"spaxbtw\",\"display_name\":\"spaxbtw\"},\"channel_id\":\"433891793\",\"redeemed_at\":\"2020-05-12T23:04:40.493690416Z\",\"reward\":{\"id\":\"662b073a-f9db-4efd-a890-74c575ce5e2f\",\"channel_id\":\"433891793\",\"title\":\"Nachricht\",\"prompt\":\"\",\"cost\":100,\"is_user_input_required\":true,\"is_sub_only\":false,\"image\":null,\"default_image\":{\"url_1x\":\"https://static-cdn.jtvnw.net/custom-reward-images/default-1.png\",\"url_2x\":\"https://static-cdn.jtvnw.net/custom-reward-images/default-2.png\",\"url_4x\":\"https://static-cdn.jtvnw.net/custom-reward-images/default-4.png\"},\"background_color\":\"#FA1ED2\",\"is_enabled\":true,\"is_paused\":false,\"is_in_stock\":true,\"max_per_stream\":{\"is_enabled\":false,\"max_per_stream\":0},\"should_redemptions_skip_request_queue\":false,\"template_id\":null,\"updated_for_indicator_at\":\"2020-05-08T13:55:38.498621391Z\"},\"user_input\":\"Test\",\"status\":\"UNFULFILLED\",\"cursor\":\"YzRmZDAwNTctYzQ0YS00ZDhmLTlhMmQtYmE3YWNlODlhZDJjX18yMDIwLTA1LTEyVDIzOjA0OjQwLjQ5MzY5MDQxNlo=\"}}}"}}
Mapped object:
RewardRedeemedEvent(super=ChannelPointsRedemptionEvent(timestamp=java.util.GregorianCalendar[time=1589324680590,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Europe/Berlin",offset=3600000,dstSavings=3600000,useDaylight=true,transitions=143,lastRule=java.util.SimpleTimeZone[id=Europe/Berlin,offset=3600000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=2,startMonth=2,startDay=-1,startDayOfWeek=1,startTime=3600000,startTimeMode=2,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=3600000,endTimeMode=2]],firstDayOfWeek=2,minimalDaysInFirstWeek=4,ERA=1,YEAR=2020,MONTH=4,WEEK_OF_YEAR=20,WEEK_OF_MONTH=2,DAY_OF_MONTH=13,DAY_OF_YEAR=134,DAY_OF_WEEK=4,DAY_OF_WEEK_IN_MONTH=2,AM_PM=0,HOUR=1,HOUR_OF_DAY=1,MINUTE=4,SECOND=40,MILLISECOND=590,ZONE_OFFSET=3600000,DST_OFFSET=3600000], redemption=ChannelPointsRedemption(id=c4fd0057-c44a-4d8f-9a2d-ba7ace89ad2c, user=ChannelPointsUser(id=433891793, login=spaxbtw, displayName=spaxbtw), channelId=433891793, redeemedAt=2020-05-12T23:04:40.493690416Z, reward=ChannelPointsReward(id=662b073a-f9db-4efd-a890-74c575ce5e2f, channelId=433891793, title=Nachricht, prompt=, cost=100, isUserInputRequired=false, isSubOnly=false, image=null, defaultImage=ChannelPointsReward.Image(url1x=https://static-cdn.jtvnw.net/custom-reward-images/default-1.png, url2x=https://static-cdn.jtvnw.net/custom-reward-images/default-2.png, url4x=https://static-cdn.jtvnw.net/custom-reward-images/default-4.png), backgroundColor=#FA1ED2, isEnabled=false, isPaused=false, isInStock=false, maxPerStream=ChannelPointsReward.MaxPerStream(isEnabled=false, maxPerStream=0), shouldRedemptionsSkipRequestQueue=false), userInput=Test, status=UNFULFILLED)))
from twitch4j.
Related Issues (20)
- FatJar in Maven repo
- ChannelMessageEvent event.reply() method HOT 1
- Refactor project with new solutions HOT 1
- Migration repository to Maven Central HOT 4
- I would like to consult active users in the chat HOT 1
- Warning in Parsing PubSub (ANON_SUB_GIFT) HOT 5
- HTTP Implementation for v2.X HOT 1
- TwitchClient close() doesn't shutdown scheduledThreadPoolExecutor HOT 2
- Missing Javadoc HOT 1
- Mod/unmod events are not parsed in pubsub HOT 2
- Extensions module should be migrated to helix
- Helix: "MutedSegments" is always null for getVideos HOT 1
- maxPerStreamSetting, maxPerUserPerStreamSetting and globalCooldownSetting are ignored in the Helix API HOT 1
- EventSubSubscriptionStatus cannot be deserialized HOT 4
- java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/Module HOT 6
- Chat should log a warning on token with missing chat:read scope HOT 8
- PubSub seems to fail to parse shoutout events HOT 1
- ChannelChangeGameEvent and ChannelChangeTitleEvent don't trigger HOT 2
- TMI Chatters - Not Found Exception HOT 1
- Not possible to listen for Channel Point Redeemed Events HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twitch4j.