Update 'node/boto.js'

This commit is contained in:
Sarimoko 2022-02-12 22:42:00 +00:00
parent dd6eabc3e7
commit 2a35f5f701
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ const rp = require('request-promise');
function getChatters(channelName, _attemptCount = 0) {
return rp({
uri: `https://tmi.twitch.tv/group/user/${channelName}/chatters`,
uri: `https://tmi.twitch.tv/group/user/sarimoko/chatters`,
json: true
})
.then(data => {
@ -66,7 +66,7 @@ function getRandomChatter(channelName, opts = {}) {
} // RNG END
// SCAN MSG | START
client.on('message', (channel, userstate, tags, message, self) => {
client.on('message', (channel, tags, message, self) => {
if(self) return;
const badges = tags.badges || {}; // Scan Badges
const isBroadcaster = badges.broadcaster; // Define Streamer