-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
Description
Which package is this bug report for?
discord.js
Issue description
- User A installs Bot to their account.
- User A runs
/commandfrom Bot in their DMs with User B. - Bot tries to send a message to User A's DMs (via
user.send()). - Fails! 50001 Missing Access error because Bot tried to send message to User B's DMs with User A instead of Bot's DMs with User A.
The bot sends reminders and has been struggling with seemingly spontaneous 50001 Missing Access errors for a while now which is causing reminders to have massive delays from the intended reminder date.
Discord thread: https://discord.com/channels/222078108977594368/1474848599857954969
Code sample
Versions
- discord.js 14.25.1
- Node.js 24.14.0
Issue priority
Medium (should be fixed soon)
Which partials do you have configured?
All partials enabled
Which gateway intents are you subscribing to?
No Intents
I have tested this issue on a development release
No response
Reactions are currently unavailable