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

TypeError: Cannot read property 'months' of undefined #2

Closed
thedist opened this issue Apr 27, 2017 · 4 comments
Closed

TypeError: Cannot read property 'months' of undefined #2

thedist opened this issue Apr 27, 2017 · 4 comments

Comments

@thedist
Copy link

thedist commented Apr 27, 2017

TypeError when there is a subscription event
main.js - 249 "months" : message.data.message.data.months,
I think should be "months" : message.data.message.months,

@thehamsti
Copy link
Owner

Okay looking into it now. Sorry about that, I assumed the message would be similar to bits. This is what i get for assuming haha.

@thehamsti
Copy link
Owner

Should work now! Closing this issue for now! Thank you for reporting my stupid typo.

@thehamsti thehamsti reopened this Apr 27, 2017
@thehamsti
Copy link
Owner

Reopened because error is still occurring. Looking into it now

@thehamsti
Copy link
Owner

Nevermind it is fixed. I misunderstood the new system. The user has the option to either annouce or withhold from announcing their sub in chat. This creates confusion because the old system that announces subscriptions in chat is currently being deprecated, but before it is completely phased out.

TLDR; see https://discuss.dev.twitch.tv/t/subscriptions-beta-changes/10023/37

thehamsti pushed a commit that referenced this issue Oct 16, 2018
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

2 participants