Skip to content

Twitch cheer event not being received as cheer-latest #26

@Aiuzu42

Description

@Aiuzu42

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions