Files
xiao/commands/roleplay/eat.js
T
Daniel Odendahl Jr 3bb21c2df0 Cleaner Looking args
2017-05-02 17:54:07 +00:00

25 lines
637 B
JavaScript

const { Command } = require('discord.js-commando');
module.exports = class EatCommand extends Command {
constructor(client) {
super(client, {
name: 'eat',
group: 'roleplay',
memberName: 'eat',
description: 'Eats something/someone.',
args: [
{
key: 'thing',
prompt: 'What do you want to roleplay with?',
type: 'string'
}
]
});
}
run(msg, args) {
const { thing } = args;
return msg.say(`${msg.author} *eats* ${thing}`);
}
};