summaryrefslogtreecommitdiff
path: root/src/commands/anime
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-28 13:16:40 -0700
committer8cy <[email protected]>2020-04-28 13:16:40 -0700
commitc6d45a94b0e3bbcb0b2e01ed8e35428040126c45 (patch)
tree526227612501768272e1f985d5f7c6b3671bf638 /src/commands/anime
parentchange darling quote calc method, add 002 quotes to quote, v8.1.2 (diff)
downloaddep-core-c6d45a94b0e3bbcb0b2e01ed8e35428040126c45.tar.xz
dep-core-c6d45a94b0e3bbcb0b2e01ed8e35428040126c45.zip
The Return, v8.2.0
- add goodbye - add avatar alias to pfp - add rule34, gelbooru and danbooru - fix ban and kick - add advice - add motivation alias to motivate
Diffstat (limited to 'src/commands/anime')
-rw-r--r--src/commands/anime/uwufy.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/commands/anime/uwufy.ts b/src/commands/anime/uwufy.ts
index a2380e5..e3f5f8a 100644
--- a/src/commands/anime/uwufy.ts
+++ b/src/commands/anime/uwufy.ts
@@ -1,5 +1,6 @@
import { Command, CommandoMessage } from 'discord.js-commando';
import emoji from 'emoji-random';
+import uwufy from 'uwufy'
module.exports = class UwufyFun extends Command {
constructor(client) {
@@ -31,10 +32,7 @@ module.exports = class UwufyFun extends Command {
});
}
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.reply(uwufy(userMsg) + ' ' + emoji.random())
msg.delete();
}
}; \ No newline at end of file