tmijs / tmi.js

💬 Javascript library for the Twitch Messaging Interface. (Twitch.tv)
https://tmijs.com
MIT License
1.55k stars 215 forks source link

client: add dynamic password (pass a function instead of a string) #347

Closed d-fischer closed 4 years ago

d-fischer commented 5 years ago

This adds the possibility to pass a function to the identity.password option. It may return a string or a Promise resolving to a string, which will then be used as the connection password.

AlcaDesign commented 4 years ago

Thanks!