From 8c435855e647ee7aef8578e253caf91fe44c67cc Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Thu, 16 Apr 2020 04:56:37 -0700 Subject: The Purification, v7.0.0 add: - aesthetic, oddcase, stretch, surreal - culturedtext - dogeify - howify - insult - lorem - spongebob Other Stuff: - many refactoring --- src/commands/fun/uwufy.ts | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'src/commands/fun/uwufy.ts') diff --git a/src/commands/fun/uwufy.ts b/src/commands/fun/uwufy.ts index 9e40078..db0f19b 100644 --- a/src/commands/fun/uwufy.ts +++ b/src/commands/fun/uwufy.ts @@ -1,5 +1,5 @@ -import { Message } from "discord.js"; -import { Command } from 'discord.js-commando'; +import { Command, CommandoMessage } from 'discord.js-commando'; +import emoji from 'emoji-random'; module.exports = class UwufyFun extends Command { constructor(client) { @@ -16,16 +16,21 @@ module.exports = class UwufyFun extends Command { type: 'string' } ], - examples: ['uwu!say please uwufy this'], + 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: Message, { userMsg }) { + run(msg: CommandoMessage, { userMsg }) { var m = userMsg; var u1 = m.replace('r', 'w'); var u2 = u1.replace('l', 'w'); - msg.reply(u2); + msg.reply(u2 + ' ' + emoji.random()); msg.delete(); } }; \ No newline at end of file -- cgit v1.2.3