mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 14:20:51 +02:00
Revert "Beep"
This reverts commit 35d25f761eb4620e02ffc16c521bab169e0f9b2c.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const { Command } = require('discord.js-commando');
|
||||
const { stripIndents } = require('common-tags');
|
||||
const answers = require('../../assets/json/8-ball');
|
||||
|
||||
module.exports = class EightBallCommand extends Command {
|
||||
@@ -20,6 +21,9 @@ module.exports = class EightBallCommand extends Command {
|
||||
}
|
||||
|
||||
run(msg, { question }) {
|
||||
return msg.say(`🎱 ${answers[Math.floor(Math.random() * answers.length)]} 🎱`);
|
||||
return msg.say(stripIndents`
|
||||
Question: ${question}
|
||||
🎱 ${answers[Math.floor(Math.random() * answers.length)]} 🎱
|
||||
`);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
const { Command } = require('discord.js-commando');
|
||||
const { stripIndents } = require('common-tags');
|
||||
const answers = ['Maybe someday', 'Nothing', 'Neither', 'I don\'t think so', 'Yes', 'Try asking again'];
|
||||
|
||||
module.exports = class MagicConchCommand extends Command {
|
||||
@@ -20,6 +21,9 @@ module.exports = class MagicConchCommand extends Command {
|
||||
}
|
||||
|
||||
run(msg, { question }) {
|
||||
return msg.say(`🐚 ${answers[Math.floor(Math.random() * answers.length)]} 🐚`);
|
||||
return msg.say(stripIndents`
|
||||
Question: ${question}
|
||||
🐚 ${answers[Math.floor(Math.random() * answers.length)]} 🐚
|
||||
`);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user