CommandoClient, Change Filenames, etc.

This commit is contained in:
Daniel Odendahl Jr
2017-05-23 16:14:48 +00:00
parent 38674485d1
commit 67f888e7b0
44 changed files with 77 additions and 54 deletions
+24
View File
@@ -0,0 +1,24 @@
const { Command } = require('discord.js-commando');
module.exports = class HighFivesCommand extends Command {
constructor(client) {
super(client, {
name: 'high-five',
group: 'roleplay',
memberName: 'high-five',
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}`);
}
};