Created
June 19, 2021 02:51
-
-
Save LiorB-D/f30942dc11f94887fa40e3d1aac637ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const client = new tmi.Client({ | |
channels: [ 'THE_NAME_OF_THE_CHANNEL' ] | |
}); | |
client.connect(); | |
client.on('message', (channel, tags, message, self) => { | |
// What we want to happen when a comment occurs | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment