Chong Qing
Chong Qing
DIAdiscord.js - Imagine an app
Created by Chong Qing on 6/15/2023 in #djs-questions
2 days and i'm still trying to fix this internal error :(
client.application._patch(data.application);
^

TypeError: client.application._patch is not a function
at module.exports [as READY] (/Users/roopa/Desktop/projects/LLbot/node_modules/discord.js/src/client/websocket/handlers/READY.js:21:24)
at WebSocketManager.handlePacket (/Users/roopa/Desktop/projects/LLbot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:354:31)
at WebSocketManager.<anonymous> (/Users/roopa/Desktop/projects/LLbot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:238:12)
at WebSocketManager.emit (/Users/roopa/Desktop/projects/LLbot/node_modules/@vladfrangu/async_event_emitter/dist/index.js:282:31)
at WebSocketShard.<anonymous> (/Users/roopa/Desktop/projects/LLbot/node_modules/@discordjs/ws/dist/index.js:1103:51)
at WebSocketShard.emit (/Users/roopa/Desktop/projects/LLbot/node_modules/@vladfrangu/async_event_emitter/dist/index.js:282:31)
at WebSocketShard.onMessage (/Users/roopa/Desktop/projects/LLbot/node_modules/@discordjs/ws/dist/index.js:938:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v20.2.0
client.application._patch(data.application);
^

TypeError: client.application._patch is not a function
at module.exports [as READY] (/Users/roopa/Desktop/projects/LLbot/node_modules/discord.js/src/client/websocket/handlers/READY.js:21:24)
at WebSocketManager.handlePacket (/Users/roopa/Desktop/projects/LLbot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:354:31)
at WebSocketManager.<anonymous> (/Users/roopa/Desktop/projects/LLbot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:238:12)
at WebSocketManager.emit (/Users/roopa/Desktop/projects/LLbot/node_modules/@vladfrangu/async_event_emitter/dist/index.js:282:31)
at WebSocketShard.<anonymous> (/Users/roopa/Desktop/projects/LLbot/node_modules/@discordjs/ws/dist/index.js:1103:51)
at WebSocketShard.emit (/Users/roopa/Desktop/projects/LLbot/node_modules/@vladfrangu/async_event_emitter/dist/index.js:282:31)
at WebSocketShard.onMessage (/Users/roopa/Desktop/projects/LLbot/node_modules/@discordjs/ws/dist/index.js:938:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v20.2.0
i have no idea how to fix this lol
22 replies