Escape Markdown in all cards

This commit is contained in:
Dragon Fire
2021-03-14 15:50:11 -04:00
parent 08937b3dc7
commit 66dff27094
+1 -1
View File
@@ -108,7 +108,7 @@ module.exports = class Player {
sendHand(hand, black) {
return this.user.send(stripIndents`
__**Your hand is:**__
${hand.map((card, i) => `**${i + 1}.** ${card}`).join('\n')}
${hand.map((card, i) => `**${i + 1}.** ${escapeMarkdown(card)}`).join('\n')}
**${this.game.blackType} Card:** ${escapeMarkdown(black.text)}
**Card Czar:** ${this.game.czar.user.username}