diff options
Diffstat (limited to 'src/commands/anime/uwufy.ts')
| -rw-r--r-- | src/commands/anime/uwufy.ts | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/commands/anime/uwufy.ts b/src/commands/anime/uwufy.ts new file mode 100644 index 0000000..db0f19b --- /dev/null +++ b/src/commands/anime/uwufy.ts @@ -0,0 +1,36 @@ +import { Command, CommandoMessage } from 'discord.js-commando'; +import emoji from 'emoji-random'; + +module.exports = class UwufyFun extends Command { + constructor(client) { + super(client, { + name: 'uwufy', + aliases: ['uwu', 'owofy', 'owo'], + group: 'fun', + memberName: 'uwufy', + description: 'Uwufys anything you send.', + args: [ + { + key: 'userMsg', + prompt: 'What would you like to uwufy?', + type: 'string' + } + ], + examples: [ + 'uwu!uwufy please uwufy this', + 'uwu!uwu can u uwufy this', + 'uwu!owofy this thx', + 'uwu!owo nice now this' + ], + userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], + clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], + }); + } + run(msg: CommandoMessage, { userMsg }) { + var m = userMsg; + var u1 = m.replace('r', 'w'); + var u2 = u1.replace('l', 'w'); + msg.reply(u2 + ' ' + emoji.random()); + msg.delete(); + } +};
\ No newline at end of file |