Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Cannot send messages to this user #62

Closed
saiteja-madha opened this issue Dec 7, 2021 · 0 comments · Fixed by #68
Closed

Cannot send messages to this user #62

saiteja-madha opened this issue Dec 7, 2021 · 0 comments · Fixed by #68
Assignees
Labels
bug Something is verified not to work

Comments

@saiteja-madha
Copy link
Owner

Describe the bug
Cannot send messages to this user

To Reproduce

  • Block the bot
  • Use any command to make the bot DM you

Expected behavior
DM should be sent only if possible

Error Log

DiscordAPIError: Cannot send messages to this user
    at RequestHandler.execute (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/rest/RequestHandler.js:349:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async RequestHandler.push (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/rest/RequestHandler.js:50:14)
    at async DMChannel.send (/home/strange/Desktop/discord-js-bot/node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js:172:15)
@saiteja-madha saiteja-madha added the bug Something is verified not to work label Dec 7, 2021
@saiteja-madha saiteja-madha self-assigned this Dec 7, 2021
saiteja-madha added a commit that referenced this issue Dec 7, 2021
@saiteja-madha saiteja-madha linked a pull request Dec 8, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is verified not to work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant