mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 01:57:54 +02:00
Show remaining bullets
This commit is contained in:
@@ -44,7 +44,7 @@ module.exports = class RussianRouletteCommand extends Command {
|
|||||||
const notPlayer = userTurn ? msg.author : opponent;
|
const notPlayer = userTurn ? msg.author : opponent;
|
||||||
await msg.say(stripIndents`
|
await msg.say(stripIndents`
|
||||||
**${player.tag}** pulls the trigger... **And ${gun[round] ? 'dies!**' : 'lives...**'}
|
**${player.tag}** pulls the trigger... **And ${gun[round] ? 'dies!**' : 'lives...**'}
|
||||||
${opponent.bot ? 'Continue?' : `Will you take the gun, ${notPlayer}?`}
|
${opponent.bot ? 'Continue?' : `Will you take the gun, ${notPlayer}?`} (${8 - round - 1} bullets left)
|
||||||
`);
|
`);
|
||||||
if (gun[round]) {
|
if (gun[round]) {
|
||||||
winner = notPlayer;
|
winner = notPlayer;
|
||||||
|
|||||||
Reference in New Issue
Block a user