mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 02:15:10 +02:00
common-tags was fixed
This commit is contained in:
@@ -57,7 +57,7 @@ module.exports = class BattleCommand extends Command {
|
|||||||
let choice;
|
let choice;
|
||||||
if (!opponent.bot || (opponent.bot && userTurn)) {
|
if (!opponent.bot || (opponent.bot && userTurn)) {
|
||||||
await msg.say(stripIndents`
|
await msg.say(stripIndents`
|
||||||
${user.toString()}, do you **fight**, **guard**, **special**, or **run**?
|
${user}, do you **fight**, **guard**, **special**, or **run**?
|
||||||
**${msg.author.username}**: ${userHP}HP
|
**${msg.author.username}**: ${userHP}HP
|
||||||
**${opponent.username}**: ${oppoHP}HP
|
**${opponent.username}**: ${oppoHP}HP
|
||||||
`);
|
`);
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ module.exports = class EmojiEmojiRevolutionCommand extends Command {
|
|||||||
if (winner.id === msg.author.id) ++aPts;
|
if (winner.id === msg.author.id) ++aPts;
|
||||||
else ++oPts;
|
else ++oPts;
|
||||||
await msg.say(stripIndents`
|
await msg.say(stripIndents`
|
||||||
${winner.toString()} won this round!
|
${winner} won this round!
|
||||||
**${msg.author.username}**: ${aPts}
|
**${msg.author.username}**: ${aPts}
|
||||||
**${opponent.username}**: ${oPts}
|
**${opponent.username}**: ${oPts}
|
||||||
`);
|
`);
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ module.exports = class TicTacToeCommand extends Command {
|
|||||||
const user = userTurn ? msg.author : opponent;
|
const user = userTurn ? msg.author : opponent;
|
||||||
const sign = userTurn ? 'X' : 'O';
|
const sign = userTurn ? 'X' : 'O';
|
||||||
await msg.say(stripIndents`
|
await msg.say(stripIndents`
|
||||||
${user.toString()}, which side do you pick?
|
${user}, which side do you pick?
|
||||||
\`\`\`
|
\`\`\`
|
||||||
${sides[0]} | ${sides[1]} | ${sides[2]}
|
${sides[0]} | ${sides[1]} | ${sides[2]}
|
||||||
—————————
|
—————————
|
||||||
|
|||||||
Reference in New Issue
Block a user