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