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

25 lines
665 B
JavaScript

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