Hi, while creating a new custom widget that should detect when an user send bits in chat the documentation on CustomCode.md says that a new cheer event should be received on obj.detail.listener as cheer-latest. However when I test it what I'm actually receiving during the cheer event on obj.detail.listener is event.
What I ended up doing in my custom widget to identify a new cheer was taking the cheer event from obj.detail.event:
if (obj.detail.event.type == 'cheer') {
But in the documentation the type property doesn't even exists, is the documentation accurate and updated?