mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 15:57:47 +02:00
Italicize all question commands
This commit is contained in:
@@ -31,7 +31,7 @@ module.exports = class EightBallCommand extends Command {
|
|||||||
|
|
||||||
run(msg, { question }) {
|
run(msg, { question }) {
|
||||||
return msg.say(stripIndents`
|
return msg.say(stripIndents`
|
||||||
${question}
|
_${question}_
|
||||||
🎱 ${answers[Math.floor(Math.random() * answers.length)]} 🎱
|
🎱 ${answers[Math.floor(Math.random() * answers.length)]} 🎱
|
||||||
`);
|
`);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ module.exports = class CharlieCharlieCommand extends Command {
|
|||||||
run(msg, { question }) {
|
run(msg, { question }) {
|
||||||
const answer = answers[Math.floor(Math.random() * answers.length)];
|
const answer = answers[Math.floor(Math.random() * answers.length)];
|
||||||
return msg.say(stripIndent`
|
return msg.say(stripIndent`
|
||||||
${question}
|
_${question}_
|
||||||
\`\`\`
|
\`\`\`
|
||||||
${answer === 'no' ? '\\' : ' '} | ${answer === 'yes' ? '/' : ' '}
|
${answer === 'no' ? '\\' : ' '} | ${answer === 'yes' ? '/' : ' '}
|
||||||
NO ${answer === 'no' ? '\\' : ' '} | ${answer === 'yes' ? '/' : ' '}YES
|
NO ${answer === 'no' ? '\\' : ' '} | ${answer === 'yes' ? '/' : ' '}YES
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ module.exports = class MagicConchCommand extends Command {
|
|||||||
|
|
||||||
run(msg, { question }) {
|
run(msg, { question }) {
|
||||||
return msg.say(stripIndents`
|
return msg.say(stripIndents`
|
||||||
${question}
|
_${question}_
|
||||||
🐚 ${answers[Math.floor(Math.random() * answers.length)]} 🐚
|
🐚 ${answers[Math.floor(Math.random() * answers.length)]} 🐚
|
||||||
`);
|
`);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ module.exports = class OpinionCommand extends Command {
|
|||||||
|
|
||||||
run(msg, { question }) {
|
run(msg, { question }) {
|
||||||
return msg.say(stripIndents`
|
return msg.say(stripIndents`
|
||||||
${question}
|
_${question}_
|
||||||
${opinions[Math.floor(Math.random() * opinions.length)]}
|
${opinions[Math.floor(Math.random() * opinions.length)]}
|
||||||
`);
|
`);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ module.exports = class YesNoCommand extends Command {
|
|||||||
|
|
||||||
run(msg, { question }) {
|
run(msg, { question }) {
|
||||||
return msg.say(stripIndents`
|
return msg.say(stripIndents`
|
||||||
${question}
|
_${question}_
|
||||||
${answers[Math.floor(Math.random() * answers.length)]}
|
${answers[Math.floor(Math.random() * answers.length)]}
|
||||||
`);
|
`);
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "126.8.0",
|
"version": "126.8.1",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Xiao.js",
|
"main": "Xiao.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user