test cupid

This commit is contained in:
Sarimoko 2022-02-16 15:57:20 -08:00
parent 0839a8fb06
commit 351b03c669
1 changed files with 61 additions and 11 deletions

View File

@ -83,6 +83,7 @@ client.on('message', (channel, tags, message, self) => {
// ================================ // ================================
// Chatbot Commands // Chatbot Commands
// ================================ // ================================
// RNG User
if(command === 'rnguser') { if(command === 'rnguser') {
// Get a random user but skip the user requesting a random user // Get a random user but skip the user requesting a random user
getRandomChatter(channel, { skipList: [ tags.username ] }) getRandomChatter(channel, { skipList: [ tags.username ] })
@ -97,6 +98,22 @@ client.on('message', (channel, tags, message, self) => {
}) })
.catch(err => console.log('[ERR]', err)); .catch(err => console.log('[ERR]', err));
} }
// Cupid
if (command === 'cupid') {
// 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}, garunteed 0% match-making with no one else in chat! #smallstreamerproblems`);
}
else {
let { name, type } = user;
const percent = Math.floor(Math.random() * 100) + 1;
client.say(channel, `/me @${tags.username} & @${name} have a ${percent}% match compadibility!`);
}
})
.catch(err => console.log('[ERR]', err));
}
// CMD | Dice Roll // CMD | Dice Roll
if(command === 'dice' || if(command === 'dice' ||
command === 'roll') { command === 'roll') {
@ -106,6 +123,39 @@ client.on('message', (channel, tags, message, self) => {
if(command === 'hibots') { if(command === 'hibots') {
client.say(channel, `!hichatbots `) client.say(channel, `!hichatbots `)
} }
// 420 California
if (command === 'cali' ||
command === 'california' ||
command === 'californication' ||
command === '420' ||
command === '710' ||
command === '1130' ||
command === 'dab' ||
command === 'dab30' ||
command === 'roach' ||
command === 'roach30' ||
command === 'bowl' ||
command === 'bowl30' ||
command === 'weed' ||
command === 'dabs' ||
command === 'crumble' ||
command === 'shatter' ||
command === 'oil' ||
command === 'marijuana' ||
command === 'canabis' ||
command === 'reefer' ||
command === 'cronic' ||
command === 'wackytobacy' ||
command === 'edibles' ||
command === 'tincture' ||
command === 'tinctures' ||
command === 'hash' ||
command === 'cheech' ||
command === 'chong') {
client.say(channel, `/me "I hate to advocate drugs, alcohol, violence, or insanity to anyone, but they've always worked for me." - Hunter S. Thompson`);
client.say(channel, `/me The Sarimoko Show is an adults only channel based in California where we've passed Prop 64: Adult Use of Marijuana Act.`);
client.say(channel, `/me Marijuana and Cannabis is not for everyone, please seek a professional for further guidance on THC and CBD use.`);
}
// CMD | Lurk // CMD | Lurk
if(command === 'lurk' || if(command === 'lurk' ||
command === 'lurkin' || command === 'lurkin' ||