add .joints to check list
This commit is contained in:
parent
1aaa0810d6
commit
6985f3b578
14
commands/joints.js
Normal file
14
commands/joints.js
Normal 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'));
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user