Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // tmi client
- let client = new tmi.client({
- options: {
- debug: config.debug
- },
- connection: {
- cluster: "aws",
- reconnect: true,
- secure: true
- },
- identity: {
- username: config.username,
- password: "oauth:" + config.oAuth.replace(/^oauth[: ]*/i, "")
- },
- channels: ["#" + config.channel.replace(/^#+/, "")]
- });
- client.connect();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement