add usage

This commit is contained in:
= 2021-07-20 16:24:24 -04:00
parent 41175c0ffd
commit a2ef26e9e3

View File

@ -4,6 +4,7 @@ const strings = require('../src/strings.json');
module.exports = { module.exports = {
name: 'roll', name: 'roll',
description: 'Add a phrase to the .joint command', description: 'Add a phrase to the .joint command',
usage: '<phrase to save>',
execute(message, file) { execute(message, file) {
strings.weed.push(file.name); strings.weed.push(file.name);
fs.writeFile('./src/strings.json', JSON.stringify(strings), err => { fs.writeFile('./src/strings.json', JSON.stringify(strings), err => {