This commit is contained in:
Dragon Fire
2021-01-15 19:48:11 -05:00
parent 671c49217c
commit b4163d6f49
+1 -1
View File
@@ -49,7 +49,7 @@ module.exports = class MinesweeperCommand extends Command {
if (!coordPicked) return false;
const x = Number.parseInt(coordPicked[1], 10);
const y = Number.parseInt(coordPicked[2], 10);
if (taken.includes(`${x},${y}`)) return false;
if (game.mask[x - 1][y - 1]) return false;
return true;
};
const turn = await msg.channel.awaitMessages(filter, {