nodbot/commands/joints.js

14 lines
348 B
JavaScript
Raw Normal View History

2021-07-20 20:41:35 +00:00
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'));
}
}