diff options
| author | 8cy <[email protected]> | 2020-04-16 04:56:37 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-16 04:56:37 -0700 |
| commit | 8c435855e647ee7aef8578e253caf91fe44c67cc (patch) | |
| tree | ae0bb59de10ecec5ca2fc01dfa9190efd1f177ab /src/commands/fun/uwufy.ts | |
| parent | no longer hosting ws, v6.0.4 (diff) | |
| download | dep-core-8c435855e647ee7aef8578e253caf91fe44c67cc.tar.xz dep-core-8c435855e647ee7aef8578e253caf91fe44c67cc.zip | |
The Purification, v7.0.0
add:
- aesthetic, oddcase, stretch, surreal
- culturedtext
- dogeify
- howify
- insult
- lorem
- spongebob
Other Stuff:
- many refactoring
Diffstat (limited to 'src/commands/fun/uwufy.ts')
| -rw-r--r-- | src/commands/fun/uwufy.ts | 15 |
1 files changed, 10 insertions, 5 deletions
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 |