Variable joint responses

This commit is contained in:
= 2021-07-19 15:20:59 -04:00
parent 04344c3fdd
commit 0ae4c9a3d9
2 changed files with 16 additions and 1 deletions

View File

@ -1,9 +1,11 @@
const { emoji } = require('../config.json');
const { weed } = require('../src/strings.json');
module.exports = {
name: 'joint',
description: 'Pass the joint!',
execute(message, args) {
message.channel.send('It\'s dangerous to go alone... take this: ' + emoji.joint);
const randIndex = Math.floor(Math.random() * weed.length);
message.channel.send(`${weed[randIndex]} ${emoji.joint}`);
}
}

View File

@ -0,0 +1,13 @@
{
"weed": [
"It's dangerous to go alone, take this",
"Dave's not here, man",
"I was gonna clean my room, but then I got high",
"When in doubt, smoke it out",
"I smoke two joints before I smoke two joints, and then I smoke two more",
"Today's forecast is cloudy with a chance of munchies",
"You're gonna be doing a lot of doobie rollin' when you're living in a ran down by the river!",
"You'll have plenty of time to live in a van down by the river... when you're living in a van down by the river!",
"Roll, roll, roll my joint, pick out the seeds and stems"
]
}