Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Aiuzu42 opened this issue Jan 9, 2022 · 0 comments
Open

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

Aiuzu42 opened this issue Jan 9, 2022 · 0 comments

Comments

@Aiuzu42
Copy link

Aiuzu42 commented Jan 9, 2022

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?

@StreamElements StreamElements deleted a comment from nmynarcik Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant