clarkio / vscode-twitch-highlighter

This is a VS Code extension that will allow your Twitch chat to highlight a line of code via a command message. Example: `!line 8 server.js`. See master branch README.md for more details
https://clarkio.com
203 stars 14 forks source link

Does the nickname have to be lowercase? #47

Closed clarkio closed 5 years ago

clarkio commented 5 years ago

According to the Twitch API docs they say it has to be lowercase here: https://dev.twitch.tv/docs/irc/guide/

Maybe twitch-js lib already does this?

Investigate further.

parithon commented 5 years ago

I tested using uppercase and lowercase and everything in-between and twitch-js was able to connect without issue. I also looked at the twitch-js module's wiki pages and it doesn't mention that the nickname needs to be lowercase.

clarkio commented 5 years ago

Ok cool, maybe the twitch-js package just handles this or the Twitch docs are out of date and no longer require that.

IAmFletcher commented 5 years ago

I assume twitch-js handles it as the Go Twitch IRC library I use had to ToLower the nickname too.

clarkio commented 5 years ago

Ok that makes sense. Since @parithon tested this out to validate the extension is good to go I'm going to close this. Thanks everyone.