Hello,
When I run the script, first it work, but after I have this error :
/home/judemont/autre/kahootbot/node_modules/kahoot.js-updated/src/modules/backup.js:39
this.quiz.quizQuestionAnswers = recover.defaultQuizData.quizQuestionAnswers;
^
TypeError: Cannot read properties of undefined (reading 'quizQuestionAnswers')
at handlers.recovery (/home/judemont/autre/kahootbot/node_modules/kahoot.js-updated/src/modules/backup.js:39:63)
at Client._message (/home/judemont/autre/kahootbot/node_modules/kahoot.js-updated/src/kahoot.js:345:23)
at WebSocket.<anonymous> (/home/judemont/autre/kahootbot/node_modules/kahoot.js-updated/src/kahoot.js:298:14)
at WebSocket.emit (node:events:513:28)
at Receiver.receiverOnMessage (/home/judemont/autre/kahootbot/node_modules/ws/lib/websocket.js:1068:20)
at Receiver.emit (node:events:513:28)
at Receiver.dataMessage (/home/judemont/autre/kahootbot/node_modules/ws/lib/receiver.js:517:14)
at /home/judemont/autre/kahootbot/node_modules/ws/lib/receiver.js:468:23
at /home/judemont/autre/kahootbot/node_modules/ws/lib/permessage-deflate.js:308:9
at /home/judemont/autre/kahootbot/node_modules/ws/lib/permessage-deflate.js:391:7
Node.js v18.13.0
Hello, When I run the script, first it work, but after I have this error :