Update 'node/boto.js'
This commit is contained in:
parent
dfbb229d40
commit
79c3fbe10e
13
node/boto.js
13
node/boto.js
|
@ -34,20 +34,9 @@ client.on('message', (channel, tags, message, self) => {
|
||||||
if(self || !message.startsWith('!')) return; // Command Parser
|
if(self || !message.startsWith('!')) return; // Command Parser
|
||||||
const args = message.slice(1).split(' ');
|
const args = message.slice(1).split(' ');
|
||||||
const command = args.shift().toLowerCase(); // !COMMAND => command
|
const command = args.shift().toLowerCase(); // !COMMAND => command
|
||||||
|
|
||||||
if(isModUp) { // !MODS | START
|
if(isModUp) { // !MODS | START
|
||||||
console.log('Captians Log: MOD used a command...'); // Log for ALL commands Mods use Mod/Sub/General
|
console.log('Captians Log: MOD used a command...'); // Log for ALL commands Mods use Mod/Sub/General
|
||||||
if(command === 'so' ||
|
|
||||||
command === 'shoutout') {
|
|
||||||
client.say(channel, `/me Smash @${args.join(' ')}'s follow button at: https://twitch.tv/${args.join(' ')}`);
|
|
||||||
}
|
|
||||||
else if(command === 'mute' ||
|
|
||||||
command === 'slap' ||
|
|
||||||
command === 'timeout' ||
|
|
||||||
command === 'warn') {
|
|
||||||
client.say(channel, `/timeout ${args.join(' ')} 33`);
|
|
||||||
client.say(channel, `/me Mods cast a 33sec Timeout Curse on @${args.join(' ')}, resistence to Bans is decreased!`);
|
|
||||||
client.say(channel, `!kappagen sarimoRAGE sarimoNERD`);
|
|
||||||
}
|
|
||||||
} // !MODS | END
|
} // !MODS | END
|
||||||
|
|
||||||
if(isSub) { // !SUBS | START
|
if(isSub) { // !SUBS | START
|
||||||
|
|
Loading…
Reference in New Issue