Files
xiao/commands/roleplay/pat.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 PatCommand extends Command {
constructor(client) {
super(client, {
name: 'pat',
group: 'roleplay',
memberName: 'pat',
description: 'Pats 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} *pats* ${thing}`);
}
};