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: "username",
- password: "oauth:yourshithere"
- },
- channels: ["terina_art"]
- };
- var client = new tmi.client(options);
- client.connect();
- client.on('chat', function(channel, user, message, self)
- {
- client.action("terina_art", user['display-name'] + " i literally made this in 2 seconds LUL");
- });
- // DISCORD BOT
- var Discord = require("discord.js");
- var bot = new Discord.Client();
- bot.on("message", function(message)
- {
- console.log(message.content);
- if (message.content === "hi")
- {
- bot.reply(message, "sup?");
- }
- });
- bot.login(username, password);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement