Discord-Bot icon indicating copy to clipboard operation
Discord-Bot copied to clipboard

When we write a command to the Discord bot via DM, it gives an error.

Open MRsuffixx opened this issue 2 years ago • 1 comments

When we write a command to the Discord bot via DM, it gives an error. For example, when we type "/help" it gives this error. "TypeError: Cannot read properties of null (reading 'id') at client.embed (/home/container/src/handlers/components/embed.js:196:78) at Object.run (/home/container/src/interactions/Command/help.js:53:23) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Unhandled promise rejection: TypeError: Cannot read properties of null (reading 'name') at module.exports (/home/container/src/events/client/errorCreate.js:19:60) at Client.emit (node:events:513:28) at /home/container/src/events/client/interactionCreate.js:72:28 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"

MRsuffixx avatar Sep 21 '23 18:09 MRsuffixx

@MRsuffixx did you manage to fix that issue?

Felitendo avatar Jul 06 '24 23:07 Felitendo