summaryrefslogtreecommitdiff
path: root/src/commands/fun
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/fun')
-rw-r--r--src/commands/fun/cow.ts26
-rw-r--r--src/commands/fun/dicksize.ts33
-rw-r--r--src/commands/fun/quote.ts2
3 files changed, 60 insertions, 1 deletions
diff --git a/src/commands/fun/cow.ts b/src/commands/fun/cow.ts
new file mode 100644
index 0000000..e8fa60b
--- /dev/null
+++ b/src/commands/fun/cow.ts
@@ -0,0 +1,26 @@
+import { Command, CommandoMessage } from 'discord.js-commando';
+import cows from 'cows';
+
+module.exports = class CowFun extends Command {
+ constructor(client) {
+ super(client, {
+ name: 'cow',
+ aliases: ['cows'],
+ group: 'fun',
+ memberName: 'cow',
+ description: 'Gives you a random cow.',
+ throttling: {
+ usages: 5,
+ duration: 30
+ },
+ examples: ['uwu!cow', 'uwu!cows'],
+ userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY']
+ });
+ }
+ run(msg: CommandoMessage) {
+ let cowNumber = Math.round((Math.random() * cows().length))
+ let cow = cows()[cowNumber]
+ msg.reply(`\`\`\`${cow}\`\`\``);
+ }
+}; \ No newline at end of file
diff --git a/src/commands/fun/dicksize.ts b/src/commands/fun/dicksize.ts
new file mode 100644
index 0000000..9e023d1
--- /dev/null
+++ b/src/commands/fun/dicksize.ts
@@ -0,0 +1,33 @@
+import { Command, CommandoMessage } from 'discord.js-commando';
+import emoji from 'emoji-random';
+
+module.exports = class DickSizeFun extends Command {
+ constructor(client) {
+ super(client, {
+ name: 'dicksize',
+ aliases: [
+ 'peepeesize',
+ 'ppsize'
+ ],
+ group: 'fun',
+ memberName: 'dicksize',
+ description: 'Tells you your dick size.',
+ examples: [
+ 'uwu!dicksize',
+ 'uwu!peepeesize',
+ 'uwu!ppsize'
+ ],
+ userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY']
+ });
+ }
+ run(msg: CommandoMessage) {
+ let size = msg.author.id.slice(-3) % 20 + 1
+
+ msg.reply('Scanning..').then(scanningMsg => {
+ // @ts-ignore
+ scanningMsg.delete()
+ msg.reply('Your dick size is **' + size + '** inches. ' + emoji.random());
+ });
+ }
+}; \ No newline at end of file
diff --git a/src/commands/fun/quote.ts b/src/commands/fun/quote.ts
index 1e130a8..0961d1d 100644
--- a/src/commands/fun/quote.ts
+++ b/src/commands/fun/quote.ts
@@ -9,7 +9,7 @@ module.exports = class QuoteFun extends Command {
aliases: ['quotes'],
group: 'fun',
memberName: 'quote',
- description: 'Gives you a random quote from Adventure Time.',
+ description: '[Broken] Gives you a random quote from Adventure Time.',
throttling: {
usages: 5,
duration: 30