mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 00:06:42 +02:00
Add final move
This commit is contained in:
@@ -134,6 +134,7 @@ module.exports = class ConnectFourCommand extends Command {
|
||||
if (winner === 'time') return msg.say('Game ended due to inactivity.');
|
||||
return msg.say(stripIndents`
|
||||
${winner ? `Congrats, ${winner}!` : 'Looks like it\'s a draw...'}
|
||||
Final Move: **${lastMove}**
|
||||
|
||||
${this.displayBoard(board, playerOneEmoji, playerTwoEmoji)}
|
||||
${nums.join('')}
|
||||
|
||||
Reference in New Issue
Block a user