diff options
| author | 8cy <[email protected]> | 2020-04-23 19:06:09 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-23 19:06:09 -0700 |
| commit | 8a2c9df3fd75a08d2b4acabe0b3a6bd62da22b34 (patch) | |
| tree | 08e8b18aebae0b3836de94484185fabb14a860e8 /src/commands/fun | |
| parent | change mongdburl to mlab, v7.4.2 (diff) | |
| download | dep-core-8a2c9df3fd75a08d2b4acabe0b3a6bd62da22b34.tar.xz dep-core-8a2c9df3fd75a08d2b4acabe0b3a6bd62da22b34.zip | |
shift groups around, new mod cmds, v7.5.0
Diffstat (limited to 'src/commands/fun')
| -rw-r--r-- | src/commands/fun/cow.ts | 26 | ||||
| -rw-r--r-- | src/commands/fun/dicksize.ts | 33 | ||||
| -rw-r--r-- | src/commands/fun/quote.ts | 2 |
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 |