nodbot/commands/joint.js

10 lines
277 B
JavaScript
Raw Normal View History

2021-07-19 20:01:27 +00:00
const { emoji, weed } = require('../src/strings.json');
2021-07-06 21:37:29 +00:00
module.exports = {
name: 'joint',
description: 'Pass the joint!',
execute(message, args) {
2021-07-19 19:20:59 +00:00
const randIndex = Math.floor(Math.random() * weed.length);
message.channel.send(`${weed[randIndex]} ${emoji.joint}`);
2021-07-06 21:37:29 +00:00
}
}