Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
MRsuffixx opened this issue Sep 21, 2023 · 1 comment
Open

Comments

@MRsuffixx
Copy link

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)"

@Felitendo
Copy link

@MRsuffixx did you manage to fix that issue?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants