Giter VIP home page Giter VIP logo

Comments (3)

iProdigy avatar iProdigy commented on May 22, 2024

Good catch! I was unable to find this issue in other pubsub/kraken/helix classes

from twitch4j.

PhilippHeuer avatar PhilippHeuer commented on May 22, 2024

Is resolved in alpha.24 by #125.

from twitch4j.

TheAkio avatar TheAkio commented on May 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.