nodbot/commands/roll.js

11 lines
305 B
JavaScript

const functions = require('../functions.js');
module.exports = {
name: 'roll',
description: 'Add a phrase to the .joint command',
usage: '<phrase to save>',
execute(message, file) {
functions.uploadPotPhrase(file.name);
message.channel.send('"' + file.name + '" has been added to the list');
}
}