mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 14:20:51 +02:00
Fix
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user