summaryrefslogtreecommitdiff
path: root/src/commands/fun
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-16 04:56:37 -0700
committer8cy <[email protected]>2020-04-16 04:56:37 -0700
commit8c435855e647ee7aef8578e253caf91fe44c67cc (patch)
treeae0bb59de10ecec5ca2fc01dfa9190efd1f177ab /src/commands/fun
parentno longer hosting ws, v6.0.4 (diff)
downloaddep-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')
-rw-r--r--src/commands/fun/8ball.ts (renamed from src/commands/fun/8ball.js)7
-rw-r--r--src/commands/fun/aesthetic.ts33
-rw-r--r--src/commands/fun/culturedtext.ts49
-rw-r--r--src/commands/fun/dm.ts63
-rw-r--r--src/commands/fun/dogeify.ts34
-rw-r--r--src/commands/fun/emoji.ts (renamed from src/commands/fun/emoji.js)6
-rw-r--r--src/commands/fun/gay.ts (renamed from src/commands/fun/gay.js)5
-rw-r--r--src/commands/fun/howify.ts32
-rw-r--r--src/commands/fun/insult.ts21
-rw-r--r--src/commands/fun/lorem.ts30
-rw-r--r--src/commands/fun/oddcase.ts32
-rw-r--r--src/commands/fun/quote.ts (renamed from src/commands/fun/quote.js)15
-rw-r--r--src/commands/fun/respect.ts (renamed from src/commands/fun/respect.js)4
-rw-r--r--src/commands/fun/say.ts (renamed from src/commands/fun/say.js)7
-rw-r--r--src/commands/fun/spongebob.ts35
-rw-r--r--src/commands/fun/stretch.ts33
-rw-r--r--src/commands/fun/surreal.ts32
-rw-r--r--src/commands/fun/uwufy.ts15
18 files changed, 429 insertions, 24 deletions
diff --git a/src/commands/fun/8ball.js b/src/commands/fun/8ball.ts
index 6be4f01..faf7adf 100644
--- a/src/commands/fun/8ball.js
+++ b/src/commands/fun/8ball.ts
@@ -1,5 +1,5 @@
-const { Command } = require('discord.js-commando');
-const { MessageEmbed } = require('discord.js');
+import { Command, CommandoMessage } from 'discord.js-commando';
+import { MessageEmbed } from 'discord.js';
module.exports = class EightBallFun extends Command {
constructor(client) {
@@ -24,10 +24,9 @@ module.exports = class EightBallFun extends Command {
clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY']
});
}
- run(msg) {
+ run(msg: CommandoMessage) {
var r = ['Yes~ uwu', 'No.', 'Yes!', 'No!', 'What, no.', 'Yes.', 'Maybe.', 'Perhaps.', 'Try again.', 'I\'m not sure.'];
var s = r[Math.floor(Math.random() * r.length)];
-
let embed = new MessageEmbed()
.setAuthor('The 8-ball says', 'https://upload.wikimedia.org/wikipedia/commons/thumb/f/fd/8-Ball_Pool.svg/500px-8-Ball_Pool.svg.png')
diff --git a/src/commands/fun/aesthetic.ts b/src/commands/fun/aesthetic.ts
new file mode 100644
index 0000000..54bde0c
--- /dev/null
+++ b/src/commands/fun/aesthetic.ts
@@ -0,0 +1,33 @@
+import { Command, CommandoMessage } from 'discord.js-commando';
+import ct from 'culturedtext';
+import emoji from 'emoji-random';
+
+module.exports = class AestheticFun extends Command {
+ constructor(client) {
+ super(client, {
+ name: 'aesthetic',
+ aliases: ['aestheticifize'],
+ group: 'fun',
+ memberName: 'aesthetic',
+ description: 'Aestheticifizes anything you send.',
+ args: [
+ {
+ key: 'userMsg',
+ prompt: 'What would you like to aestheticifize?',
+ type: 'string'
+ }
+ ],
+ examples: [
+ 'uwu!aesthetic please aestheticifize this'
+ ],
+ userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ });
+ }
+ run(msg: CommandoMessage, { userMsg }) {
+ var m = userMsg;
+ var u1 = ct.aethstetic(m);
+ msg.reply(u1 + ' ' + emoji.random());
+ msg.delete();
+ }
+}; \ No newline at end of file
diff --git a/src/commands/fun/culturedtext.ts b/src/commands/fun/culturedtext.ts
new file mode 100644
index 0000000..499b3e6
--- /dev/null
+++ b/src/commands/fun/culturedtext.ts
@@ -0,0 +1,49 @@
+import { Command, CommandoMessage } from 'discord.js-commando';
+import ct from 'culturedtext';
+import emoji from 'emoji-random';
+
+module.exports = class CulturedTextFun extends Command {
+ constructor(client) {
+ super(client, {
+ name: 'culturedtext',
+ aliases: ['ct'],
+ group: 'fun',
+ memberName: 'culturedtext',
+ description: 'Cultured textifys anything you send.',
+ args: [
+ {
+ key: 'userMsg',
+ prompt: 'What would you like to cultured textifys?',
+ type: 'string'
+ },
+ {
+ key: 'ctType',
+ prompt: 'What type of cultured textification would you like to do? (oddcase, aesthetic, surreal or stretch)',
+ type: 'string'
+ }
+
+ ],
+ examples: [
+ 'uwu!culturedtext oddcase please cultured textify this'
+ ],
+ userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ });
+ }
+ run(msg: CommandoMessage, { userMsg, ctType }) {
+ var m = userMsg;
+ if (ctType == "oddcase" || ctType == 'o') {
+ var u1 = ct.oddcase(m + ' ' + emoji.random());
+ } else if (ctType == 'aesthetic' || ctType == 'a') {
+ var u1 = ct.aethstetic(m + ' ' + emoji.random());
+ } else if (ctType == 'surreal') {
+ var u1 = ct.surreal(m + ' ' + emoji.random());
+ } else if (ctType == 'stretch') {
+ var u1 = ct.stretched(m + ' ' + emoji.random());
+ } else {
+ msg.reply('That is not at option, please sellect a valid option.')
+ }
+ msg.reply(u1 + ' ' + emoji.random());
+ msg.delete();
+ }
+}; \ No newline at end of file
diff --git a/src/commands/fun/dm.ts b/src/commands/fun/dm.ts
new file mode 100644
index 0000000..73fa0b6
--- /dev/null
+++ b/src/commands/fun/dm.ts
@@ -0,0 +1,63 @@
+// TODO: remove mention from final msg
+
+import { Command, CommandoMessage } from 'discord.js-commando';
+import { MessageEmbed } from 'discord.js';
+
+module.exports = class DMFun extends Command {
+ constructor(client) {
+ super(client, {
+ name: 'dm',
+ aliases: [
+ 'directmessage',
+ 'directmsg',
+ 'direct-message',
+ 'direct-msg'
+ ],
+ group: 'fun',
+ memberName: 'dm',
+ description: 'Allows you to DM somebody as the bot.',
+ guildOnly: true,
+ args: [
+ {
+ key: 'msgContent',
+ prompt: 'What message would you like to send?',
+ type: 'string'
+ }
+ ],
+ examples: [
+ 'uwu!dm @sin#1337 hi',
+ 'uwu!directmessage @sin#1337 hey',
+ 'uwu!directmsg @sin#1337 hello',
+ 'uwu!direct-message @sin#1337 yo',
+ 'uwu!direct-msg @sin#1337 aye',
+ ],
+ userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY', 'ADMINISTRATOR'],
+ clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY']
+ });
+ }
+ run(msg: CommandoMessage, { msgContent }) {
+ if (msg.author.id == '217348698294714370') {
+ if (!msg.mentions.users.first() && msgContent) {
+ msg.reply('You haven\'t specified anyone to send a message to.');
+ } else {
+ var sendTo = msg.mentions.users.first().id;
+ var d = new Date(msg.createdTimestamp);
+
+ msg.guild.members.fetch(sendTo).then(messageUser => {
+ messageUser.send(msgContent);
+
+ var emb = new MessageEmbed()
+ .setColor(0xFFCC4D)
+ .setTitle('uwufier - DM')
+ .addField('Message content', `${msgContent}`)
+ .addField('Recipient', `${msg.mentions.users.first()}`)
+ .addField('Sender', `${msg.author}`)
+ .addField('Time sent', `Now`)
+ msg.say(emb)
+ });
+ }
+ } else {
+ msg.reply('Insufficent permissions.');
+ }
+ }
+}; \ No newline at end of file
diff --git a/src/commands/fun/dogeify.ts b/src/commands/fun/dogeify.ts
new file mode 100644
index 0000000..3ec79bc
--- /dev/null
+++ b/src/commands/fun/dogeify.ts
@@ -0,0 +1,34 @@
+import { Command, CommandoMessage } from 'discord.js-commando';
+import doge from 'dogeify-js';
+import emoji from 'emoji-random';
+
+module.exports = class DogeifyFun extends Command {
+ constructor(client) {
+ super(client, {
+ name: 'dogeify',
+ aliases: ['doge'],
+ group: 'fun',
+ memberName: 'dogeify',
+ description: 'Dogifys anything you send.',
+ args: [
+ {
+ key: 'userMsg',
+ prompt: 'What would you like to dogeify?',
+ type: 'string'
+ }
+ ],
+ examples: [
+ 'uwu!dogeify please dogify this',
+ 'uwu!doge can u do this as well'
+ ],
+ userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ });
+ }
+ async run(msg: CommandoMessage, { userMsg }) {
+ var m = userMsg;
+ var u1 = await doge(m);
+ msg.reply(u1 + ' ' emoji.random());
+ msg.delete();
+ }
+}; \ No newline at end of file
diff --git a/src/commands/fun/emoji.js b/src/commands/fun/emoji.ts
index ca633b9..2950738 100644
--- a/src/commands/fun/emoji.js
+++ b/src/commands/fun/emoji.ts
@@ -1,5 +1,5 @@
-const emoji = require('emoji-random');
-const { Command } = require('discord.js-commando');
+import emoji from 'emoji-random';
+import { Command, CommandoMessage } from 'discord.js-commando';
module.exports = class EmojiFun extends Command {
constructor(client) {
@@ -18,7 +18,7 @@ module.exports = class EmojiFun extends Command {
clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY']
});
}
- run(msg) {
+ run(msg: CommandoMessage) {
msg.reply(emoji.random());
}
}; \ No newline at end of file
diff --git a/src/commands/fun/gay.js b/src/commands/fun/gay.ts
index ec78ee3..a522cf9 100644
--- a/src/commands/fun/gay.js
+++ b/src/commands/fun/gay.ts
@@ -1,4 +1,4 @@
-const { Command } = require('discord.js-commando');
+import { Command, CommandoMessage } from 'discord.js-commando';
module.exports = class GayFun extends Command {
constructor(client) {
@@ -22,11 +22,12 @@ module.exports = class GayFun extends Command {
clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY']
});
}
- run(msg) {
+ run(msg: CommandoMessage) {
var gayAmount = Math.floor((Math.random() * 100) + 1);
var gayAmountDecimal = Math.floor((Math.random() * 100) + 1);
msg.reply('Scanning..').then(scanningMsg => {
+ // @ts-ignore
scanningMsg.delete()
msg.reply('Your gay-ness amount is **' + gayAmount + '.' + gayAmountDecimal + '%**. 🏳️‍🌈');
});
diff --git a/src/commands/fun/howify.ts b/src/commands/fun/howify.ts
new file mode 100644
index 0000000..e7e7eb6
--- /dev/null
+++ b/src/commands/fun/howify.ts
@@ -0,0 +1,32 @@
+import { Command, CommandoMessage } from 'discord.js-commando';
+import how from 'howifier';
+import emoji from 'emoji-random';
+
+module.exports = class HowifyFun extends Command {
+ constructor(client) {
+ super(client, {
+ name: 'howify',
+ aliases: ['how'],
+ group: 'fun',
+ memberName: 'howify',
+ description: 'Howifies any image you send.',
+ userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY', 'EMBED_LINKS'],
+ clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY', 'EMBED_LINKS'],
+ examples: ['uwu!howify', 'uwu!how']
+ });
+ }
+ run(msg: CommandoMessage) {
+ if (msg.attachments.size) {
+ // fs.unlinkSync('../../../node_modules/howifier/images/blissgay.jpeg')
+ msg.attachments.forEach(async attachment => {
+ var u1 = await how(attachment.url);
+ setTimeout(() => {
+ msg.say({ files: [u1] })
+ }, 2000);
+ });
+ } else {
+ msg.reply('No image detected. ' + emoji.random())
+ }
+
+ }
+}; \ No newline at end of file
diff --git a/src/commands/fun/insult.ts b/src/commands/fun/insult.ts
new file mode 100644
index 0000000..aec2219
--- /dev/null
+++ b/src/commands/fun/insult.ts
@@ -0,0 +1,21 @@
+import { Command, CommandoMessage } from 'discord.js-commando';
+import insult from 'insult';
+import emoji from 'emoji-random';
+
+module.exports = class InsultFun extends Command {
+ constructor(client) {
+ super(client, {
+ name: 'insult',
+ aliases: ['insults'],
+ group: 'fun',
+ memberName: 'insult',
+ description: 'Gives you a random insult.',
+ userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ examples: ['uwu!insult', 'uwu!insults']
+ });
+ }
+ run(msg: CommandoMessage) {
+ msg.reply(insult.Insult() + ' ' + emoji.random())
+ }
+}; \ No newline at end of file
diff --git a/src/commands/fun/lorem.ts b/src/commands/fun/lorem.ts
new file mode 100644
index 0000000..c1d0e0e
--- /dev/null
+++ b/src/commands/fun/lorem.ts
@@ -0,0 +1,30 @@
+import { Command, CommandoMessage } from 'discord.js-commando';
+import lm from 'lorem-memesum';
+import emoji from 'emoji-random';
+
+module.exports = class LoremFun extends Command {
+ constructor(client) {
+ super(client, {
+ name: 'lorem',
+ aliases: ['lorem-impsum', 'loremipsum', 'ipsum', 'lorem-memesum', 'loremmemesum', 'memesum'],
+ group: 'fun',
+ memberName: 'lorem',
+ description: 'Gives you a random memeified Lorem Ipsum',
+ examples: [
+ 'uwu!lorem',
+ 'uwu!lorem-ipsum',
+ 'uwu!loremipsum',
+ 'uwu!ipsum',
+ 'uwu!lorem-memesum',
+ 'uwu!loremmemesum',
+ 'uwu!memesum'
+ ],
+ userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ });
+ }
+ run(msg: CommandoMessage) {
+ msg.reply(lm.sentence.randomSentence() + ' ' + emoji.random());
+ msg.delete();
+ }
+}; \ No newline at end of file
diff --git a/src/commands/fun/oddcase.ts b/src/commands/fun/oddcase.ts
new file mode 100644
index 0000000..b574244
--- /dev/null
+++ b/src/commands/fun/oddcase.ts
@@ -0,0 +1,32 @@
+import { Command, CommandoMessage } from 'discord.js-commando';
+import ct from 'culturedtext';
+import emoji from 'emoji-random';
+
+module.exports = class OddcaseFun extends Command {
+ constructor(client) {
+ super(client, {
+ name: 'oddcase',
+ group: 'fun',
+ memberName: 'oddcase',
+ description: 'Oddcases anything you send.',
+ args: [
+ {
+ key: 'userMsg',
+ prompt: 'What would you like to oddcase?',
+ type: 'string'
+ }
+ ],
+ examples: [
+ 'uwu!oddcase please oddcase this'
+ ],
+ userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ });
+ }
+ run(msg: CommandoMessage, { userMsg }) {
+ var m = userMsg;
+ var u1 = ct.oddcase(m);
+ msg.reply(u1 + ' ' + emoji.random());
+ msg.delete();
+ }
+}; \ No newline at end of file
diff --git a/src/commands/fun/quote.js b/src/commands/fun/quote.ts
index 4a19a31..1e130a8 100644
--- a/src/commands/fun/quote.js
+++ b/src/commands/fun/quote.ts
@@ -1,6 +1,6 @@
-const atquotes = require('at-quotes');
-const { Command } = require('discord.js-commando');
-const emoji = require('emoji-random');
+import atquotes from 'at-quotes';
+import { Command, CommandoMessage } from 'discord.js-commando';
+import emoji from 'emoji-random';
module.exports = class QuoteFun extends Command {
constructor(client) {
@@ -14,7 +14,12 @@ module.exports = class QuoteFun extends Command {
usages: 5,
duration: 30
},
- examples: ['s5n!quote', 's5n!quote finn'],
+ examples: [
+ 'uwu!quote',
+ 'uwu!qutoes',
+ 'uwu!quote finn',
+ 'uwu!quotes ice king'
+ ],
args: [
{
key: 'atCharacter',
@@ -26,7 +31,7 @@ module.exports = class QuoteFun extends Command {
clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY']
});
}
- run(msg, { atCharacter }) {
+ run(msg: CommandoMessage, { atCharacter }) {
if (!atCharacter || atCharacter == 'no' || atCharacter == 'n') {
msg.reply(atquotes.getQuote() + ' ' + emoji.random());
} else if (atCharacter == 'finn' || atCharacter == 'f') {
diff --git a/src/commands/fun/respect.js b/src/commands/fun/respect.ts
index 50d185b..863b9e7 100644
--- a/src/commands/fun/respect.js
+++ b/src/commands/fun/respect.ts
@@ -1,4 +1,4 @@
-const { Command } = require('discord.js-commando');
+import { Command, CommandoMessage } from 'discord.js-commando';
module.exports = class RespectFun extends Command {
constructor(client) {
@@ -14,7 +14,7 @@ module.exports = class RespectFun extends Command {
clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY']
});
}
- run(msg) {
+ run(msg: CommandoMessage) {
msg.channel.send('Press F to pay respects.').then(m => {
m.react('🇫');
msg.delete();
diff --git a/src/commands/fun/say.js b/src/commands/fun/say.ts
index 667bb49..0d360bd 100644
--- a/src/commands/fun/say.js
+++ b/src/commands/fun/say.ts
@@ -1,4 +1,5 @@
-const { Command } = require('discord.js-commando');
+import { Command, CommandoMessage } from 'discord.js-commando';
+import emoji from 'emoji-random';
module.exports = class SayFun extends Command {
constructor(client) {
@@ -20,12 +21,12 @@ module.exports = class SayFun extends Command {
clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY']
});
}
- run(msg, { say }) {
+ run(msg: CommandoMessage, { say }) {
if (msg.member.hasPermission('KICK_MEMBERS')) {
msg.channel.send(say);
msg.delete();
} else {
- msg.reply('Insufficent perms. ' + emoji.random());
+ msg.reply('Insufficent permsissions. ' + emoji.random());
}
}
}; \ No newline at end of file
diff --git a/src/commands/fun/spongebob.ts b/src/commands/fun/spongebob.ts
new file mode 100644
index 0000000..07c7d83
--- /dev/null
+++ b/src/commands/fun/spongebob.ts
@@ -0,0 +1,35 @@
+import { Command, CommandoMessage } from 'discord.js-commando';
+import sbm from 'spongibobu.js';
+import emoji from 'emoji-random';
+
+module.exports = class SpongebobFun extends Command {
+ constructor(client) {
+ super(client, {
+ name: 'spongebob',
+ aliases: ['spongibobu', 'sbm'],
+ group: 'fun',
+ memberName: 'spongebob',
+ description: 'Spongebob memifys anything you send.',
+ args: [
+ {
+ key: 'userMsg',
+ prompt: 'What would you like to spongebob memify?',
+ type: 'string'
+ }
+ ],
+ examples: [
+ 'uwu!spongebob please spongebob memify this',
+ 'uwu!spongibobu sponge gang',
+ 'uwu!sbm oooh example'
+ ],
+ userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ });
+ }
+ run(msg: CommandoMessage, { userMsg }) {
+ var m = userMsg;
+ var u1 = sbm(m);
+ msg.reply(u1 + ' ' + emoji.random());
+ msg.delete();
+ }
+}; \ No newline at end of file
diff --git a/src/commands/fun/stretch.ts b/src/commands/fun/stretch.ts
new file mode 100644
index 0000000..19d4bfa
--- /dev/null
+++ b/src/commands/fun/stretch.ts
@@ -0,0 +1,33 @@
+import { Command, CommandoMessage } from 'discord.js-commando';
+import ct from 'culturedtext';
+import emoji from 'emoji-random';
+
+module.exports = class StretchFun extends Command {
+ constructor(client) {
+ super(client, {
+ name: 'stretch',
+ aliases: ['stretched'],
+ group: 'fun',
+ memberName: 'stretch',
+ description: 'Stretches anything you send.',
+ args: [
+ {
+ key: 'userMsg',
+ prompt: 'What would you like to stretch?',
+ type: 'string'
+ }
+ ],
+ examples: [
+ 'uwu!stretch please stretch this'
+ ],
+ userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ });
+ }
+ run(msg: CommandoMessage, { userMsg }) {
+ var m = userMsg;
+ var u1 = ct.stretched(m);
+ msg.reply(u1 + ' ' + emoji.random());
+ msg.delete();
+ }
+}; \ No newline at end of file
diff --git a/src/commands/fun/surreal.ts b/src/commands/fun/surreal.ts
new file mode 100644
index 0000000..37fe21a
--- /dev/null
+++ b/src/commands/fun/surreal.ts
@@ -0,0 +1,32 @@
+import { Command, CommandoMessage } from 'discord.js-commando';
+import ct from 'culturedtext';
+import emoji from 'emoji-random';
+
+module.exports = class SurrealFun extends Command {
+ constructor(client) {
+ super(client, {
+ name: 'surreal',
+ group: 'fun',
+ memberName: 'surreal',
+ description: 'Surrealifies anything you send.',
+ args: [
+ {
+ key: 'userMsg',
+ prompt: 'What would you like to surrealify?',
+ type: 'string'
+ }
+ ],
+ examples: [
+ 'uwu!surreal please surrealify this'
+ ],
+ userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ });
+ }
+ run(msg: CommandoMessage, { userMsg }) {
+ var m = userMsg;
+ var u1 = ct.surreal(m);
+ msg.reply(u1 + ' ' + emoji.random());
+ msg.delete();
+ }
+}; \ No newline at end of file
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