From e65575d6b095564cb4eb1bcb0e7b1e890473f66a Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 2 May 2021 08:55:10 -0400 Subject: [PATCH] Fix --- commands/games-mp/russian-roulette.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/games-mp/russian-roulette.js b/commands/games-mp/russian-roulette.js index 7ec82510..2dc33294 100644 --- a/commands/games-mp/russian-roulette.js +++ b/commands/games-mp/russian-roulette.js @@ -53,14 +53,14 @@ module.exports = class RussianRouletteCommand extends Command { turn.push(turn[0]); turn.shift(); if (gun[round]) { - await msg.say(`**${player.tag}** pulls the trigger... **And dies!**`); + await msg.say(`**${player.user.tag}** pulls the trigger... **And dies!**`); loser = player; } else { await msg.say(stripIndents` - **${player.tag}** pulls the trigger... **And lives...** - ${player.bot ? '' : `Will you take the gun, ${players.get(turn[0]).user}?`} + **${player.user.tag}** pulls the trigger... **And lives...** + ${player.user.bot ? '' : `Will you take the gun, ${players.get(turn[0]).user}?`} `); - if (!player.bot) { + if (!player.user.bot) { let first = true; for (const next of turn) { const nextPlayer = players.get(next);