Treasure Box / WebcastEnvelopeMessage
See original GitHub issueHi!
First I like to say thanks for your great work, it’s very helpful for me right now!
For the project I’m working on I need to receive infos, if someone gifted a treasure box, that everyone in the room can open and may receive some coins. This box is unfortunately not part of the gift list. Is there a way to retrieve infos about it?
After scanning the raw Webcast I think, the WebcastEnvelopeMessage may contain the searched infos, but i’m too dumb to get the raw data decoded… 😕
Issue Analytics
- State:
- Created a year ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Treasure Box (2021) - IMDb
Treasure aka Princess is Daddy's main girl that holds the house and the girls down but her past secrets haunt her as a...
Read more >Travel Treasure Box
A quarterly subscription box meant to inspire the wanderlust in you delivered directly to your front door!
Read more >and that's how treasure box works! #xyzcba #fyp ... - TikTok
TikTok video from Treasure box (@treasurebox.live): "and that's how treasure box works! #xyzcba #fyp #fypシ #treasureboxlive #1k #fypシ #treasurebox".
Read more >Arrg! Don't Touch Me Treasure! Treasure Chest Box Puzzle!
Check out this amazing 3d printed puzzle! The Treasure Chest Puzzle Box is great fun and a solution that keeps you guessing!
Read more >YG Treasure Box | Kpop Wiki - Fandom
YG Treasure Box (YG 보석함) was a survival show produced by YG ... The show determined YG's future boy group TREASURE, with 29...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks @ThanoFish I have added your work to the latest release.
I believe I’ve managed to make this. I don’t think this is the best or most efficient way to do it, but it works from my testing (except the profile picture url thing, which always seems to be undefined).
I’ve added the ‘treasureBox’ event, which returns this object:
{ userId: ‘7092344136195916805’, // data of user who gave the treasure box starts here
uniqueId: ‘teamcj17’,
nickname: ‘⚽️ CJ ⚽️’,
profilePictureUrl: undefined, // not sure why this is undefined
followRole: 0,
userBadges: [], // data of user who gave the treasure box ends here
coins: 20, // coins in the box
canOpen: 16, // how many people can open the box
timestamp: Long { low: 1652283961, high: 0, unsigned: true } // timestamp of the box being given
}
I’ve forked this project and added these things to the fork, it would be great if someone can test it out and see if there are any issues other than the pfp thing which I’m trying to fix.