Italicize all question commands

This commit is contained in:
Dragon Fire
2021-01-19 22:08:53 -05:00
parent 8cb34b60a5
commit 47bd4131c2
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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)]} 🎱
`); `);
} }
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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)]} 🐚
`); `);
} }
+1 -1
View File
@@ -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)]}
`); `);
} }
+1 -1
View File
@@ -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
View File
@@ -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": {