mirror of
https://github.com/chenasraf/venom.git
synced 2026-05-17 17:28:08 +00:00
feat: added a magicball for community
This commit is contained in:
19
src/bot/commands/8ball.ts
Normal file
19
src/bot/commands/8ball.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import Discord from 'discord.js';
|
||||
|
||||
import ICommand from './ICommand';
|
||||
|
||||
const command: ICommand = {
|
||||
name: '8ball',
|
||||
aliases: ['eightball', 'magicball', 'ball', 'wisdomball'],
|
||||
description: 'Ask the magic eightball for advice!',
|
||||
async execute(message: Discord.Message, args: string[]) {
|
||||
const responses = ["as I see it, yes.", "err, ask again later.", "better not tell you now.", "that's hard to predict right now.",
|
||||
"concentrate... and ask again.", "don't count on it.", "it is certain.", "it is decidedly so.", "most likely.", "no.",
|
||||
"likely not.", "my sources say no.", "hmm, outlook not so good.", "outlook is good.", "not sure, try again.",
|
||||
"as dubealex commands it: maybe!", "googliano'd the answer and uh, it's a yes?", "careful, but yes",
|
||||
"signs point to yes.", "very doubtful.", "without a doubt.","yes.", "yes - definitely.", "yeah, you can rely on it."];
|
||||
message.reply(responses[Math.floor(Math.random() * responses.length)]);
|
||||
},
|
||||
};
|
||||
|
||||
export default command;
|
||||
@@ -1,9 +1,11 @@
|
||||
import help from './help';
|
||||
import ping from './ping';
|
||||
import see from './see';
|
||||
import magicball from './8ball';
|
||||
|
||||
export default [
|
||||
help,
|
||||
ping,
|
||||
see
|
||||
see,
|
||||
magicball
|
||||
]
|
||||
Reference in New Issue
Block a user