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

25 lines
642 B
JavaScript

const { Command } = require('discord.js-commando');
module.exports = class PokeCommand extends Command {
constructor(client) {
super(client, {
name: 'poke',
group: 'roleplay',
memberName: 'poke',
description: 'Pokes 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} *pokes* ${thing}`);
}
};