diff --git a/commands/joints.js b/commands/joints.js new file mode 100644 index 0000000..530fd66 --- /dev/null +++ b/commands/joints.js @@ -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')); + } +} \ No newline at end of file