diff options
Diffstat (limited to 'src/commands/roleplay/slap.ts')
| -rw-r--r-- | src/commands/roleplay/slap.ts | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/commands/roleplay/slap.ts b/src/commands/roleplay/slap.ts new file mode 100644 index 0000000..f007cb7 --- /dev/null +++ b/src/commands/roleplay/slap.ts @@ -0,0 +1,30 @@ +import { Command, CommandoMessage } from 'discord.js-commando'; +import emoji from 'emoji-random'; + +module.exports = class SlapRoleplay extends Command { + constructor(client) { + super(client, { + name: 'slap', + group: 'roleplay', + memberName: 'slap', + description: 'Slap a specified user.', + examples: ['uwu!slap @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 slap?', + type: 'user' + } + ] + }); + } + run(msg: CommandoMessage, { uUser }) { + msg.say(`_**${msg.author.username}** slaps **${uUser.username}**._` + ' ' + emoji.random()) + } +};
\ No newline at end of file |