diff options
Diffstat (limited to 'src/commands/roleplay/highfive.ts')
| -rw-r--r-- | src/commands/roleplay/highfive.ts | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/commands/roleplay/highfive.ts b/src/commands/roleplay/highfive.ts new file mode 100644 index 0000000..bb9435d --- /dev/null +++ b/src/commands/roleplay/highfive.ts @@ -0,0 +1,31 @@ +import { Command, CommandoMessage } from 'discord.js-commando'; +import emoji from 'emoji-random'; + +module.exports = class HighFiveRoleplay extends Command { + constructor(client) { + super(client, { + name: 'highfive', + aliases: ['high-five'], + group: 'roleplay', + memberName: 'highfive', + description: 'High-fave with a specified user.', + examples: ['uwu!highfive @sin#1337'], + userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], + clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], + throttling: { + usages: 5, + duration: 30 + }, + args: [ + { + key: 'uUser', + prompt: 'Which user would you like to high-five?', + type: 'user' + } + ] + }); + } + run(msg: CommandoMessage, { uUser }) { + msg.say(`_**${msg.author.username}** high-fives **${uUser.username}**._` + ' ' + emoji.random()) + } +};
\ No newline at end of file |