diff --git a/node/boto.js b/node/boto.js index eb35db3..9813e84 100644 --- a/node/boto.js +++ b/node/boto.js @@ -17,6 +17,8 @@ require('dotenv').config(); const tmi = require('tmi.js'); +const rp = require('request-promise'); // For RNG +const colors = require('colors'); console.log(process.env.API_HOST); @@ -36,8 +38,6 @@ const client = new tmi.Client({ client.connect(); // RNG User -const rp = require('request-promise'); - function getChatters(channelName, _attemptCount = 0) { return rp({ uri: `https://tmi.twitch.tv/group/user/sarimoko/chatters`, @@ -440,7 +440,7 @@ client.on("hosting", (channel, target, viewers) => { client.say(channel, `/me BLEEP! BLOOP! @Sarimoko is auto-hosting various streamers! For more info: https://cord.sarimoko.com`); }); client.on("join", (channel, username, self) => { - console.log('\x1b[36m%s\x1b[0m', 'LOG |', username, '\x1b[36m%s\x1b[0m', 'joined the chat!'); + console.log('LOG |'.brightBlue, username.yellow, 'joined the chat!'.brightBlue); }); client.on("logon", () => { console.log('LOG: Logon ');