From ce7bbfe3ee250ccb2a8c772979210b29e0e4a601 Mon Sep 17 00:00:00 2001 From: Sarimoko Date: Sun, 13 Feb 2022 14:27:53 +0000 Subject: [PATCH] Update 'node/boto.js' --- node/boto.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ');