Update 'node/boto.js'

This commit is contained in:
Sarimoko 2022-02-13 14:27:53 +00:00
parent cfd9fabcf5
commit ce7bbfe3ee
1 changed files with 3 additions and 3 deletions

View File

@ -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 ');