From 6985f3b57831693eba4050100ae78879c664b204 Mon Sep 17 00:00:00 2001 From: = Date: Tue, 20 Jul 2021 16:41:35 -0400 Subject: [PATCH] add .joints to check list --- commands/joints.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 commands/joints.js 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