mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 06:37:32 +02:00
Both
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
const { stripIndent } = require('common-tags');
|
const { stripIndent } = require('common-tags');
|
||||||
const answers = ['no1', 'yes1', 'no2', 'yes2'];
|
const answers = ['yes', 'no'];
|
||||||
|
|
||||||
module.exports = class CharlieCharlieChallengeCommand extends Command {
|
module.exports = class CharlieCharlieChallengeCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
@@ -25,13 +25,13 @@ module.exports = class CharlieCharlieChallengeCommand extends Command {
|
|||||||
return msg.say(stripIndent`
|
return msg.say(stripIndent`
|
||||||
${question}
|
${question}
|
||||||
\`\`\`
|
\`\`\`
|
||||||
${answer === 'no1' ? '\\' : ' '} | ${answer === 'yes1' ? '/' : ' '}
|
${answer === 'no' ? '\\' : ' '} | ${answer === 'yes' ? '/' : ' '}
|
||||||
NO ${answer === 'no1' ? '\\' : ' '} | ${answer === 'yes1' ? '/' : ' '}YES
|
NO ${answer === 'no' ? '\\' : ' '} | ${answer === 'yes' ? '/' : ' '}YES
|
||||||
${answer === 'no1' ? '\\' : ' '}|${answer === 'yes1' ? '/' : ' '}
|
${answer === 'no' ? '\\' : ' '}|${answer === 'yes' ? '/' : ' '}
|
||||||
————————————————
|
————————————————
|
||||||
${answer === 'yes2' ? '/' : ' '}|${answer === 'no2' ? '\\' : ' '}
|
${answer === 'yes' ? '/' : ' '}|${answer === 'no' ? '\\' : ' '}
|
||||||
YES${answer === 'yes2' ? '/' : ' '} | ${answer === 'no2' ? '\\' : ' '}NO
|
YES${answer === 'yes' ? '/' : ' '} | ${answer === 'no' ? '\\' : ' '}NO
|
||||||
${answer === 'yes2' ? '/' : ' '} | ${answer === 'no2' ? '\\' : ' '}
|
${answer === 'yes' ? '/' : ' '} | ${answer === 'no' ? '\\' : ' '}
|
||||||
\`\`\`
|
\`\`\`
|
||||||
`);
|
`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user