2021-04-05 04:35:12 +00:00
|
|
|
import {Command, NamedCommand} from "../../core";
|
|
|
|
import {random} from "../../lib";
|
2020-12-15 01:44:28 +00:00
|
|
|
|
2020-08-15 21:02:58 +00:00
|
|
|
const responses = [
|
2020-12-15 01:44:28 +00:00
|
|
|
"Most likely,",
|
|
|
|
"It is certain,",
|
|
|
|
"It is decidedly so,",
|
|
|
|
"Without a doubt,",
|
|
|
|
"Definitely,",
|
|
|
|
"You may rely on it,",
|
|
|
|
"As I see it, yes,",
|
|
|
|
"Outlook good,",
|
|
|
|
"Yes,",
|
|
|
|
"Signs point to yes,",
|
|
|
|
"Reply hazy, try again,",
|
|
|
|
"Ask again later,",
|
|
|
|
"Better not tell you now,",
|
|
|
|
"Cannot predict now,",
|
|
|
|
"Concentrate and ask again,",
|
|
|
|
"Don't count on it,",
|
|
|
|
"My reply is no,",
|
|
|
|
"My sources say no,",
|
|
|
|
"Outlook not so good,",
|
|
|
|
"Very doubtful,"
|
2020-08-15 21:02:58 +00:00
|
|
|
];
|
|
|
|
|
2021-04-05 04:35:12 +00:00
|
|
|
export default new NamedCommand({
|
2020-12-15 01:44:28 +00:00
|
|
|
description: "Answers your question in an 8-ball manner.",
|
|
|
|
usage: "<question>",
|
|
|
|
run: "Please provide a question.",
|
|
|
|
any: new Command({
|
|
|
|
description: "Question to ask the 8-ball.",
|
2021-04-11 09:11:21 +00:00
|
|
|
async run({send, message}) {
|
2021-04-05 04:35:12 +00:00
|
|
|
const sender = message.author;
|
2021-04-10 13:34:55 +00:00
|
|
|
send(`${random(responses)} <@${sender.id}>`);
|
2020-12-15 01:44:28 +00:00
|
|
|
}
|
|
|
|
})
|
2020-10-15 09:23:24 +00:00
|
|
|
});
|