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
- },
- identify: {
- username: "genstuk0v",
- password: "oauth:kas6ybsa4z7kga42jgvnxymginp59s"
- },
- channels: ["happinessltd"]
- };
- var client = new tmi.client(options);
- client.connect();
- client.on('connected', function (address, port) {
- console.log("Address: " + address + " Port: " + port);
- });
- var phrases=[
- "Happinessltd, I love you! (No Homo) FeelsBadMan",
- "FailFish",
- "danWave",
- "baconNub",
- "sbzyFeedMe",
- "waffleHeart",
- "danPuke",
- "GivePLZ EVERYONE TAKE MY ENERGY! TakeNRG",
- "Kappa",
- "Happinessltd, I love you! (Full Homo) KappaPride"
- ];
- function sayPhrase() {
- client.say("happinessltd", phrases[Math.floor(Math.random()* phrases.length)]);
- }
- setTimeout(sayPhrase, 1500);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement