Update 'node/boto.js'

This commit is contained in:
Sarimoko 2022-02-25 23:02:19 +00:00
parent b773b0caa7
commit d1f7a071f0
1 changed files with 28 additions and 0 deletions

View File

@ -68,9 +68,14 @@ function getRandomChatter(channelName, opts = {}) {
// CHAT SCAN | START
client.on('message', (channel, tags, message, self) => {
if(self) return;
if(tags.username === 'Botisimo') return;
if(tags.username === 'Fossabot') return;
if(tags.username === 'moobot') return;
if(tags.username === 'nightbot') return;
if(tags.username === 'OWN3D') return;
if(tags.username === 'streamelements') return;
if(tags.username === 'streamlabs') return;
if(tags.username === 'Wizebot') return;
const badges = tags.badges || {}; // Scan Badges
const isBroadcaster = badges.broadcaster; // Define Streamer
const isMod = badges.moderator; // Define Mod
@ -180,6 +185,13 @@ client.on('message', (channel, tags, message, self) => {
command === 'lurkin' ||
command === 'lurking') {
client.say(channel, `/me Thanks @${tags.username} for your viewership! Lurk on! sarimoLURKbrb sarimoLURK`);
}
// CMD | Raid
if(command === 'raid' ||
command === 'riad' ||
command === 'raidcall') {
client.say(channel, `/me Copy'n'Paste the following:`);
client.say(channel, `sarimoRAID sarimoFREEDOM You may take us viewers, but you'll NEVER take our FREEDOM!`);
}
// ================================
// SUB Commands
@ -290,6 +302,22 @@ client.on('message', (channel, tags, message, self) => {
// CHAT SCAN | END
// ================================
// ================================
// CHANNEL POINT REWARDS START
// ================================
//var jokes = [
// "Two bytes meet. The first byte asks, “Are you ill?” +
// "The second byte replies, “No, just feeling a bit off.”",
// "How many programmers does it take to change a light bulb?" +
// "None Its a hardware problem",
// "Debugging: Removing the needles from the haystack."
//];
//client.on('message', (channel, context, message, self) => {
// if (context["custom-reward-id"] === "YOUR-REWARD-ID") {
// client.say(channel, jokes[Math.floor(Math.random() * jokes.length)]);
// }
//}
// ================================
// ALERTS START
// ================================