add .joints to check list

This commit is contained in:
= 2021-07-20 16:41:35 -04:00
parent 1aaa0810d6
commit 6985f3b578

14
commands/joints.js Normal file
View File

@ -0,0 +1,14 @@
const { weed } = require('../src/strings.json');
module.exports = {
name: 'joints',
description: 'Get a list of the phrases saved for .joint',
execute(message, file) {
let data = [];
for (const phrase of weed) {
data.push(phrase);
}
message.channel.send('Here are all the `.joint` phrases I have saved:\n\n' + data.join('\n'));
}
}