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