kritzware / twitch-bot

🤖 Easily create chat bots for Twitch.tv
https://www.npmjs.com/package/twitch-bot
MIT License
149 stars 36 forks source link

Join event is not handled if the username is not lowercase #49

Open zusorio opened 5 years ago

zusorio commented 5 years ago

If the username is not lowercase the Join event is not detected which breaks joining channels after the bot is initialized and stops the emission of join events. There should be either an error when the username is not lowercase, automatically changing the username to lowercase or just detect the username when it is lowercase.

kamerat commented 4 years ago

+1! I pulled my hair not understanding why the bot did not connect.. Can confirm I had capitalized name "Myname" and .join event never fired.