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: {
- cluster: "aws",
- reconnect: true
- },
- identity: {
- username: "PumpkinSpiceLatteh",
- password: "oauth:xwtypmr36lanhgkxaxt5z093o4vlx3"
- },
- channels: ["frost_"]
- };
- var client = new tmi.client(options);
- client.connect();
- client.on('subscription', function(channel, username, method) {
- if (channel == '#frost_') {
- client.say(channel, "PogChamp PogChamp")
- client.say(channel, "frstHYPE frstHYPE frstHYPE");
- client.say(channel, "frstLOVE frstLOVE Thanks for subscribing @" + username + "! frstLOVE frstLOVE");
- client.say(channel, "frstHYPE frstHYPE frstHYPE");
- client.say(channel, "PogChamp PogChamp");
- client.say(channel, "@" + username + " Refresh and share! frstLOVE")
- }
- } );
- client.on('resub', function(channel, username, months, message) {
- if (channel == '#frost_') {
- client.say(channel, "frstLOVE frstLOVE frstLOVE");
- client.say(channel, "frstHYPE frstHYPE frstHYPE");
- client.say(channel, "frstRP frstRP Thanks for re-subscribing @" + username + "! frstRP frstRP");
- client.say(channel, "frstHYPE frstHYPE frstHYPE");
- client.say(channel, "frstLOVE frstLOVE frstLOVE")
- }
- } );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement