This commit is contained in:
Sarimoko 2022-02-17 00:31:15 -08:00
parent 455b1debba
commit 4d874e0ba5
1 changed files with 22 additions and 11 deletions

View File

@ -290,7 +290,7 @@ client.on("anongiftpaidupgrade", (channel, username, userstate) => {
// -------------------------------- // --------------------------------
client.on("ban", (channel, username, reason, userstate) => { client.on("ban", (channel, username, reason, userstate) => {
console.log('MOD-LOG: @'.brightRed+ username.yellow, 'was banned for:'.brightRed, reason.yellow); console.log('MOD-LOG: @'.brightRed+ username.yellow, 'was banned for:'.brightRed, reason.yellow);
client.say(channel, `/me BYE FELICIA!!! Critical hit from the MODs Ban-Hammer attack!`); client.say(channel, `/me BYE FELICIA!!! MODs used Ban-Hammer attack on `+ username +` and CRITICAL HIT!`);
client.say(channel, `!kappagen BOP BOP BOP `); client.say(channel, `!kappagen BOP BOP BOP `);
}); });
// client.on("chat", (channel, userstate, message, self) => { // client.on("chat", (channel, userstate, message, self) => {
@ -338,6 +338,7 @@ client.on("disconnected", (reason) => {
// -------------------------------- // --------------------------------
client.on("emoteonly", (channel, enabled) => { client.on("emoteonly", (channel, enabled) => {
console.log('CHAT MODE: Emotes Only '); console.log('CHAT MODE: Emotes Only ');
client.say(channel, `/me CHAT| Emote Only Mode:`, enabled);
}); });
// client.on("emotesets", (sets, obj) => { // client.on("emotesets", (sets, obj) => {
// // Here are the emotes I can use: // // Here are the emotes I can use:
@ -348,6 +349,7 @@ client.on("emoteonly", (channel, enabled) => {
// -------------------------------- // --------------------------------
client.on("followersonly", (channel, enabled, length) => { client.on("followersonly", (channel, enabled, length) => {
console.log('CHAT MOD: Followers only enabled!'); console.log('CHAT MOD: Followers only enabled!');
client.say(channel, `/me CHAT| Followers Only Mode:`, enabled);
}); });
// SUB | Gift => Paid // SUB | Gift => Paid
// -------------------------------- // --------------------------------
@ -411,16 +413,21 @@ client.on("logon", () => {
// -------------------------------- // --------------------------------
client.on("messagedeleted", (channel, username, deletedMessage, userstate) => { client.on("messagedeleted", (channel, username, deletedMessage, userstate) => {
console.log('LOG | Deleted MSG'.brightRed); console.log('LOG | Deleted MSG'.brightRed);
client.say(channel, `/me 404 | Error | @`+ username +`'s message NOT found!`);
client.say(channel, `I eat trolls like your for breakfast... Feed me Seymour!`);
}); });
// MOD | Added to MOD List // MOD | Added to MOD List
// -------------------------------- // --------------------------------
client.on("mod", (channel, username) => { client.on("mod", (channel, username) => {
console.log('LOG |'.brightRed, username.yellow, 'was added as a MOD'.brightRed); console.log('LOG |'.brightRed, username.yellow, 'was added as a MOD'.brightRed);
client.say(channel, `/me @` + username + ` was added to The Mods!`);
client.say(channel, `You're not after my job are you?! I have tenor...`);
}); });
// CHAT | Mods List // CHAT | Mods List
// -------------------------------- // --------------------------------
client.on("mods", (channel, mods) => { client.on("mods", (channel, mods) => {
console.log('LOG: Mod?'.yellow, mods); console.log('LOG: Mod?'.yellow, mods);
client.say(channel, `/me The Mods: `+ mods);
}); });
// ??? // ???
// -------------------------------- // --------------------------------
@ -443,8 +450,12 @@ client.on("part", (channel, username, self) => {
// HYPE | Incoming Raid // HYPE | Incoming Raid
// -------------------------------- // --------------------------------
client.on("raided", (channel, username, viewers) => { client.on("raided", (channel, username, viewers) => {
if (viewers === 0 || viewers === 1) {
client.say(channel, `!kappagen sarimoRAID sarimoFREEDOM sarimoKO`);
} else {
client.say(channel, `/me TYVM @` + username, `we may take your viewership of`, viewers + `, but we'll never take their FREEDOM!!! sarimoFREEDOM`); client.say(channel, `/me TYVM @` + username, `we may take your viewership of`, viewers + `, but we'll never take their FREEDOM!!! sarimoFREEDOM`);
client.say(channel, `!kappagen sarimoRAID sarimoFREEDOM sarimoKO`); client.say(channel, `!kappagen sarimoRAID sarimoFREEDOM sarimoKO`);
}
}); });
// ??? // ???
// -------------------------------- // --------------------------------
@ -459,7 +470,7 @@ client.on("reconnect", () => {
// SUB | Re-Sub // SUB | Re-Sub
// -------------------------------- // --------------------------------
client.on("resub", function (channel, username, months, message, userstate, methods) { client.on("resub", function (channel, username, months, message, userstate, methods) {
client.say(channel, `/me BLEEP! BLOOP! Legend re-sub! Thanks for your continued support!`); client.say(channel, `/me HYPE! TYVM @`+ username +` for re-subbing for `+ months +` months now!`);
client.say(channel, `!kappagen sarimoHYPE sarimoKO`); client.say(channel, `!kappagen sarimoHYPE sarimoKO`);
}); });
// ??? // ???
@ -476,7 +487,7 @@ client.on("serverchange", (channel) => {
// -------------------------------- // --------------------------------
client.on("slowmode", (channel, enabled, length) => { client.on("slowmode", (channel, enabled, length) => {
console.log('CHAT MODE: Slow Mode enabled! '); console.log('CHAT MODE: Slow Mode enabled! ');
client.say(channel, `CHAT-MODE: Slow`); client.say(channel, `/me CHAT| Slow Mode:`, enabled);
}); });
// SUB | Gift-Sub // SUB | Gift-Sub
// -------------------------------- // --------------------------------
@ -498,7 +509,7 @@ client.on("submysterygift", (channel, username, numbOfSubs, methods, userstate)
// -------------------------------- // --------------------------------
client.on("subscribers", (channel, enabled) => { client.on("subscribers", (channel, enabled) => {
console.log('LOG | CHAT MODE | Sub-Only is'.brightRed, eneabled.yellow); console.log('LOG | CHAT MODE | Sub-Only is'.brightRed, eneabled.yellow);
client.say(channel, `CHAT| Subscribers mode:`, enabled); client.say(channel, `/me CHAT| Subscribers Only Mode:`, enabled);
}); });
// SUB | Subscriber // SUB | Subscriber
// -------------------------------- // --------------------------------