mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 21:40:51 +02:00
Fix lint
This commit is contained in:
@@ -89,7 +89,7 @@ module.exports = class TicTacToeCommand extends Command {
|
|||||||
this.client.games.delete(msg.channel.id);
|
this.client.games.delete(msg.channel.id);
|
||||||
if (winner === 'time') return msg.say('Game ended due to inactivity.');
|
if (winner === 'time') return msg.say('Game ended due to inactivity.');
|
||||||
return msg.say(stripIndents`
|
return msg.say(stripIndents`
|
||||||
${winner !== 'tie' ? `Congrats, ${winner}!` : 'Oh... The cat won.'}
|
${winner === 'tie' ? 'Oh... The cat won.' : `Congrats, ${winner}!`}
|
||||||
|
|
||||||
${this.displayBoard(sides)}
|
${this.displayBoard(sides)}
|
||||||
`);
|
`);
|
||||||
|
|||||||
Reference in New Issue
Block a user