summaryrefslogtreecommitdiff
path: root/src/commands/fun/8ball.ts
diff options
context:
space:
mode:
author8cy <[email protected]>2020-07-23 23:24:17 -0700
committer8cy <[email protected]>2020-07-23 23:24:17 -0700
commitbb511abc03bb66848947e37a999502b813c77269 (patch)
tree612c010fc8317e1cdf11471a18aad0270819d33e /src/commands/fun/8ball.ts
parentfix: if clear amount equal or over 100, round down to 99 (diff)
downloaddep-core-bb511abc03bb66848947e37a999502b813c77269.tar.xz
dep-core-bb511abc03bb66848947e37a999502b813c77269.zip
goodbye old uwufier :cry:
Diffstat (limited to 'src/commands/fun/8ball.ts')
-rw-r--r--src/commands/fun/8ball.ts76
1 files changed, 0 insertions, 76 deletions
diff --git a/src/commands/fun/8ball.ts b/src/commands/fun/8ball.ts
deleted file mode 100644
index 989e036..0000000
--- a/src/commands/fun/8ball.ts
+++ /dev/null
@@ -1,76 +0,0 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
-import { MessageEmbed } from 'discord.js';
-import emoji from 'emoji-random'
-
-module.exports = class EightBallFun extends Command {
- constructor(client) {
- super(client, {
- name: '8ball',
- aliases: [
- '8b',
- '9b',
- '9ball',
- '7b',
- '7ball'
- ],
- group: 'fun',
- memberName: '8ball',
- description: 'Shake the 8ball for a fortune.',
- throttling: {
- usages: 5,
- duration: 30
- },
- examples: ['uwu!8ball', 'uwu!8b 002'],
- userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
- clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
- args: [
- {
- key: 'bType',
- prompt: 'What type of 8ball would you like?',
- type: 'string',
- default: ''
- }
- ]
- });
- }
- run(msg: CommandoMessage, { bType }) {
- if (bType == 'darling' || bType == '002' || bType == 'zero two' || bType == 'zero-two') {
- var r = [
- 'Maybe, darling.',
- 'Certainly not, darling.',
- 'I hope so, darling.',
- 'Not in our wildest dreams, darling.',
- 'There is a good chance, darling.',
- 'Quite likely, darling.',
- 'I think so, darling.',
- 'I hope not, darling.',
- 'I hope so, darling.',
- 'Never!',
- 'Ahaha! Really?!? XD',
- 'Hell, yes.',
- 'Hell to the no.',
- 'The future is bleak, darling',
- 'The future is uncertain, darling',
- 'I would rather not say, darling',
- 'Who cares?',
- 'Possibly, darling',
- 'Never, ever, ever... ever.',
- 'There is a small chance, darling.',
- 'Yes, darling!'
- ]
- } else if (bType) {
- msg.reply('Arguments? Try `uwu!8ball 002`. ' + emoji.random())
- var r = ['yes~ uwu', 'no.', 'yes!', 'no!', 'what, no.', 'yes.', 'maybe.', 'perhaps.', 'try again.', 'I\'m not sure.'];
- } else {
- 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')
- .setDescription('`' + s + '`');
-
- msg.say(embed);
- }
-}; \ No newline at end of file