© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
How to check whether a user can be DMed? - discord.js - Imagine an app
d-Iaa
discord.js - Imagine an app
•
2y ago
•
7 replies
ElJay
How to check whether a user can be DMed?
See title
. The best I can figure out is actually trying to send a DM
, but by the point I
'm doing that there
's nothing I can do if it fails
, so it would be nice if there
's a better way to check
.
discord.js - Imagine an app
Join
Support server for discord.js, a Node.js module to interact with Discord's apps API.
57,693
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How can I check user roles
d-Iaa
discord.js - Imagine an app / djs-questions
3y ago
Is there a good way to check whether a user is eligible to run a command?
d-Iaa
discord.js - Imagine an app / djs-questions
3y ago
Check if user a can manage user b?
d-Iaa
discord.js - Imagine an app / djs-questions
4y ago