This commit is contained in:
Dragon Fire
2021-01-23 22:02:14 -05:00
parent e7f089bec7
commit 83d59bb59c
+1 -1
View File
@@ -67,7 +67,7 @@ module.exports = class ChessCommand extends Command {
let blackPlayer = opponent;
if (resumeGame) {
await msg.reply('You have a saved game, do you want to resume it?');
const verification = await verify(msg.channel, opponent);
const verification = await verify(msg.channel, msg.author);
if (verification) {
const data = JSON.parse(resumeGame);
game = new jsChess.Game(resumeGame.fen);