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