Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var tmi = require("tmi.js");
- var options = {
- options: {
- debug: true
- },
- connection: {
- reconnect: true
- },
- identity: {
- username: "Schmoopiie",
- password: "oauth:a29b68aede41e25179a66c5978b21437"
- },
- channels: ["#dexuuh", "#summit1g"]
- };
- var client = new tmi.client(options);
- // Connect the client to the server..
- client.connect();
- client.on("subscription", function (channel, username, method) {
- client.say(channel, "Thank you " + username + " for subscribing");
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement