diff options
Diffstat (limited to 'src/commands/fun/quote.ts')
| -rw-r--r-- | src/commands/fun/quote.ts | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/src/commands/fun/quote.ts b/src/commands/fun/quote.ts deleted file mode 100644 index e090574..0000000 --- a/src/commands/fun/quote.ts +++ /dev/null @@ -1,80 +0,0 @@ -// Quote Packages -import mq from 'popular-movie-quotes'; -import hsq from 'harvey-specter-quotes' -import aq from 'animequote' -import cq from 'chewbacca-quotes' -import asq from 'arnie-quote' -import ztq from 'zero-two-quotes' - -import { Command, CommandoMessage } from 'discord.js-commando'; -import emoji from 'emoji-random'; - -module.exports = class QuoteFun extends Command { - constructor(client) { - super(client, { - name: 'quote', - aliases: ['quotes'], - group: 'fun', - memberName: 'quote', - description: 'Either gives you a random quote or a quote from a specified category.', - throttling: { - usages: 5, - duration: 30 - }, - examples: [ - 'uwu!quote', - 'uwu!qutoes', - 'uwu!quote movie', - 'uwu!quotes harvey specter' - ], - args: [ - { - key: 'atCharacter', - prompt: 'Would you like a specific type?\nTypes: movie, harvey specter, anime, chewbacca, arnold schwarzenegger or zero two.', - type: 'string' - } - ], - userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], - clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'] - }); - } - run(msg: CommandoMessage, { atCharacter }) { - if (atCharacter == 'random' || atCharacter == 'no') { - var quoteNum = Math.floor((Math.random() * 6) + 1); - switch (quoteNum) { - case 1: - msg.reply(mq.getRandomQuote() + ' ' + emoji.random()); - break - case 2: - msg.reply(hsq.random() + ' ' + emoji.random()); - break - case 3: - msg.reply(aq().quotesentence + ' ' + emoji.random()); - break - case 4: - msg.reply(cq() + ' ' + emoji.random()) - break - case 5: - msg.reply(asq() + ' ' + emoji.random()) - break - case 6: - msg.reply(ztq() + ' ' + emoji.random()) - break - } - } else if (atCharacter == 'movie' || atCharacter == 'movies') { - msg.reply(mq.getRandomQuote() + ' ' + emoji.random()); - } else if (atCharacter == 'harvey specter' || atCharacter == 'harvey') { - msg.reply(hsq.random() + ' ' + emoji.random()); - } else if (atCharacter == 'anime' || atCharacter == 'animes') { - msg.reply(aq().quotesentence + ' ' + emoji.random()); - } else if (atCharacter == 'chewbacca') { - msg.reply(cq() + ' ' + emoji.random()) - } else if (atCharacter == 'arnold schwarzenegger' || atCharacter == 'arnold' || atCharacter == 'schwarzenegger') { - msg.reply(asq() + ' ' + emoji.random()) - } else if (atCharacter == 'zero two' || atCharacter == 'ditf' || atCharacter == '002' || atCharacter == 'darling in the franxx') { - msg.reply(ztq() + ' ' + emoji.random()) - } else { - msg.reply('That was not at option. ' + emoji.random()) - } - } -};
\ No newline at end of file |