#Bypassin Unkown message error
1 messages · Page 1 of 1 (latest)
Am getting this error
/home/runner/GameLander-1/node_modules/discord.js/src/rest/RequestHandler.js:350
throw new DiscordAPIError(data, res.status, request);
^
DiscordAPIError: Unknown Message
at RequestHandler.execute (/home/runner/GameLander-1/node_modules/discord.js/src/rest/RequestHandler.js:350:13)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async RequestHandler.push (/home/runner/GameLander-1/node_modules/discord.js/src/rest/RequestHandler.js:51:14)
at async MessageManager.react (/home/runner/GameLander-1/node_modules/discord.js/src/managers/MessageManager.js:198:5) {
method: 'put',
path: '/channels/875234388206583848/messages/961219861516795954/reactions/%E2%9C%85/@me',
code: 10008,
httpStatus: 404,
requestData: { json: undefined, files: [] }
}```
cause of the auto mod of another bot which doesnt let the bot react on the message and it gets deleted and my bot crashes .. so i wanted to bypass/ignore the error and i searched for docs and found it .. i have attached the image but still its crashing with the same error ..
the catch is added to every message react event and i have saved and restarted the bot too ..