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

"*** is new here. say hello" crash problem #2581

Closed
akony32 opened this issue Sep 18, 2019 · 0 comments · Fixed by #2582
Closed

"*** is new here. say hello" crash problem #2581

akony32 opened this issue Sep 18, 2019 · 0 comments · Fixed by #2582

Comments

@akony32
Copy link

akony32 commented Sep 18, 2019

Hi. When someone follow a channel and send twitch's presetted "*** is new here. say hi" message bot is crashing. It happened several time. I confirmed it with side account.

ERROR Parsing error encountered. Please create an issue: https://github.com/twitch-devs/twitch-js/issues/new?title=Parsing%20error%20encountered&body=%40badge-info%3D%3Bbadges%3D%3Bcolor%3D%3Bdisplay-name%3Dshezznyyy%3Bemotes%3D30259%3A0-6%3Bflags%3D%3Bid%3D9aa51c1f-5ef6-45db-adfb-f25d7b4da809%3Blogin%3Dshezznyyy%3Bmod%3D0%3Bmsg-id%3Dritual%3Bmsg-param-ritual-name%3Dnew_chatter%3Broom-id%3D16146075%3Bsubscriber%3D0%3Bsystem-msg%3D%40shezznyyy%5Csis%5Csnew%5Cshere.%5CsSay%5Cshello%21%3Btmi-sent-ts%3D1568824711983%3Buser-id%3D159615338%3Buser-type%3D%20%3Atmi.twitch.tv%20USERNOTICE%20%23grimnax%20%3AHeyGuys%0D%0A Cannot read property 'toLowerCase' of undefined

at Chat.toLowerCase (src\bot\tmi.js:379:78)
at Chat.emit (node_modules\eventemitter3\index.js:181:35)
at node_modules\twitch-js\src\Chat\index.js:492:11
at Array.reduce ()
at Chat.reduce [as _emit] (node_modules\twitch-js\src\Chat\index.js:490:10)
at Chat._emit [as _handleMessage] (node_modules\twitch-js\src\Chat\index.js:658:10)
at Client.emit (node_modules\eventemitter3\index.js:181:35)
at emit (node_modules\twitch-js\src\Chat\Client.js:170:14)
at Array.forEach ()
at Client.forEach [as _handleMessage] (node_modules\twitch-js\src\Chat\Client.js:121:16)

2019-09-18T19:38:32.075 !!! ERROR !!! uncaughtException: TypeError: Cannot read property 'toLowerCase' of undefined
TypeError: Cannot read property 'toLowerCase' of undefined
at Chat.toLowerCase (C:\Users\musta\Downloads\grimsogeBot-9.7.0 - Kopya\src\bot\tmi.js:379:78)
at Chat.emit (C:\Users\musta\Downloads\grimsogeBot-9.7.0 - Kopya\node_modules\eventemitter3\index.js:181:35)
at C:\Users\musta\Downloads\grimsogeBot-9.7.0 - Kopya\node_modules\twitch-js\src\Chat\index.js:492:11
at Array.reduce ()
at Chat.reduce [as _emit] (C:\Users\musta\Downloads\grimsogeBot-9.7.0 - Kopya\node_modules\twitch-js\src\Chat\index.js:490:10)
at Chat._emit [as _handleMessage] (C:\Users\musta\Downloads\grimsogeBot-9.7.0 - Kopya\node_modules\twitch-js\src\Chat\index.js:658:10)
at Client.emit (C:\Users\musta\Downloads\grimsogeBot-9.7.0 - Kopya\node_modules\eventemitter3\index.js:181:35)
at emit (C:\Users\musta\Downloads\grimsogeBot-9.7.0 - Kopya\node_modules\twitch-js\src\Chat\Client.js:170:14)
at Array.forEach ()
at Client.forEach [as _handleMessage] (C:\Users\musta\Downloads\grimsogeBot-9.7.0 - Kopya\node_modules\twitch-js\src\Chat\Client.js:121:16)
2019-09-18T19:38:32.082 !!! ERROR !!! TypeError: Cannot read property 'toLowerCase' of undefined
at Chat.toLowerCase (C:\Users\musta\Downloads\grimsogeBot-9.7.0 - Kopya\src\bot\tmi.js:379:78)
at Chat.emit (C:\Users\musta\Downloads\grimsogeBot-9.7.0 - Kopya\node_modules\eventemitter3\index.js:181:35)
at C:\Users\musta\Downloads\grimsogeBot-9.7.0 - Kopya\node_modules\twitch-js\src\Chat\index.js:492:11
at Array.reduce ()
at Chat.reduce [as _emit] (C:\Users\musta\Downloads\grimsogeBot-9.7.0 - Kopya\node_modules\twitch-js\src\Chat\index.js:490:10)
at Chat._emit [as _handleMessage] (C:\Users\musta\Downloads\grimsogeBot-9.7.0 - Kopya\node_modules\twitch-js\src\Chat\index.js:658:10)
at Client.emit (C:\Users\musta\Downloads\grimsogeBot-9.7.0 - Kopya\node_modules\eventemitter3\index.js:181:35)
at emit (C:\Users\musta\Downloads\grimsogeBot-9.7.0 - Kopya\node_modules\twitch-js\src\Chat\Client.js:170:14)
at Array.forEach ()
at Client.forEach [as _handleMessage] (C:\Users\musta\Downloads\grimsogeBot-9.7.0 - Kopya\node_modules\twitch-js\src\Chat\Client.js:121:16) {
timestamp: 2019-09-18T16:38:32.020Z,
_raw: '@badge-info=;badges=;color=;display-name=shezznyyy;emotes=30259:0-6;flags=;id=9aa51c1f-5ef6-45db-adfb-f25d7b4da809;login=shezznyyy;mod=0;msg-id=ritual;msg-param-ritual-name=new_chatter;room-id=16146075;subscriber=0;system-msg=@shezznyyy\sis\snew\shere.\sSay\shello!;tmi-sent-ts=1568824711983;user-id=159615338;user-type= :tmi.twitch.tv USERNOTICE #grimnax :HeyGuys\r\n',
command: 'PARSE_ERROR_ENCOUNTERED'
}
2019-09-18T19:38:32.085 !!! ERROR !!! +------------------------------------------------------------------------------+
2019-09-18T19:38:32.086 !!! ERROR !!! | BOT HAS UNEXPECTEDLY CRASHED |
2019-09-18T19:38:32.087 !!! ERROR !!! | PLEASE CHECK https://github.com/sogehige/SogeBot/wiki/How-to-report-an-issue |
2019-09-18T19:38:32.087 !!! ERROR !!! | AND ADD logs/exceptions.log file to your report |
2019-09-18T19:38:32.088 !!! ERROR !!! +------------------------------------------------------------------------------+

sogehige added a commit that referenced this issue Sep 18, 2019
Removing handling of RITUAL doesn't make new chatter less useful,
we have backup code for new_chatter and determiting of new chatters.
This will need to be adressed when changed back to tmi.js

Closes #2581
sogehige added a commit that referenced this issue Sep 18, 2019
Removing handling of RITUAL doesn't make new chatter less useful,
we have backup code for new_chatter and determiting of new chatters.
This will need to be adressed when changed back to tmi.js

Closes #2581
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

Successfully merging a pull request may close this issue.

1 participant