idk
This commit is contained in:
parent
4d874e0ba5
commit
4c30d0a434
24
node/boto.js
24
node/boto.js
|
@ -76,6 +76,7 @@ client.on('message', (channel, tags, message, self) => {
|
|||
const isSub = badges.subscriber || badges.founder; // Define Subs
|
||||
const botUserState = client.userstate[channel]; // MOD Status Check
|
||||
const amMod = botUserState !== undefined && botUserState.mod === true; // Define Mod Status
|
||||
const percent = Math.floor(Math.random() * 100) + 1; //RNG Percentages%
|
||||
|
||||
if(self || !message.startsWith('!')) return; // Command Parser
|
||||
const args = message.slice(1).split(' ');
|
||||
|
@ -108,13 +109,29 @@ client.on('message', (channel, tags, message, self) => {
|
|||
}
|
||||
else {
|
||||
let { name, type } = user;
|
||||
const percent = Math.floor(Math.random() * 100) + 1;
|
||||
client.say(channel, `/me @${tags.username}'s simp meter for @${name} is now ${percent}%!`);
|
||||
}
|
||||
})
|
||||
.catch(err => console.log('[ERR]', err));
|
||||
}
|
||||
// CMD | Dice Roll
|
||||
// RNGesus
|
||||
if (command === 'cult' ||
|
||||
commands === 'rngesus') {
|
||||
// Get a random user but skip the user requesting a random user
|
||||
getRandomChatter(channel, { skipList: [tags.username] })
|
||||
.then(user => {
|
||||
if (user === null) {
|
||||
client.say(channel, `Sorry ${tags.username}, no one in chat to simp on! #smallstreamerproblems`);
|
||||
}
|
||||
else {
|
||||
let { name, type } = user;
|
||||
// const percent = Math.floor(Math.random() * 100) + 1;
|
||||
client.say(channel, `/me @${tags.username} but favors @${name} offering ${percent}% more!`);
|
||||
}
|
||||
})
|
||||
.catch(err => console.log('[ERR]', err));
|
||||
}
|
||||
// CMD | Dice Roll 4/6/8/9/12/20
|
||||
if(command === 'dice' ||
|
||||
command === 'roll') {
|
||||
const result = Math.floor(Math.random() * 6) + 1;
|
||||
|
@ -211,7 +228,8 @@ client.on('message', (channel, tags, message, self) => {
|
|||
}
|
||||
// FX | K A P P A G E N S
|
||||
if(command === 'bg' ||
|
||||
command === 'notgg') {
|
||||
command === 'notgg' ||
|
||||
command === 'rip') {
|
||||
client.say(channel, `!kappagen sarimoDEAD sarimoGAME`);
|
||||
}
|
||||
if(command === 'clap' ||
|
||||
|
|
Loading…
Reference in New Issue