Update 'node/boto.js'
This commit is contained in:
parent
b773b0caa7
commit
d1f7a071f0
28
node/boto.js
28
node/boto.js
|
@ -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 – It’s 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
|
||||
// ================================
|
||||
|
|
Loading…
Reference in New Issue