TheTurkeyDev/Discord-Games

can you guys help?

Closed this issue · 3 comments

i am getting this error at the end of the game

Z:\Projects\Discord-Games\node_modules\node-fetch\lib\index.js:273
                                return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json'));
                                                           ^
FetchError: invalid json response body at https://discord.com/api/v10/channels/1065343985679339603/messages/1087064369482960917/reactions reason: Unexpected end of JSON input
    at Z:\Projects\Discord-Games\node_modules\node-fetch\lib\index.js:273:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  type: 'invalid-json'
}

Are you getting it constantly?

Yes, I only did npx tsc & node.

Sorry this took me awhile to get around to. It was an error in the underlying Discord Library