-
Notifications
You must be signed in to change notification settings - Fork 140
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
Missing Permissions #1163
Comments
I know it sounds a bit dumb but are you making sure that the message you are trying to edit is a message you sent? |
yes, it's a message that I'm sending and coming from me |
aiko can u reply? |
Hello, i found the error its when u make the request patch to edit a message, if u have some data in the body that may be null, discord will claim it as non nullable and try to make a request without the required permissions.I just deleted the null proprietes on the body here is the fix on the APIRequest.js
|
izi |
Which package has the bugs?
The core library
Issue description
When I do a message.edit() with content it tells me I don't have permissions, but when I do it myself it works.
Code sample
Package version
3.1.4
Node.js version
v20.12.2.
Operating system
windows
Priority this issue should have
Medium (should be fixed soon)
Checklist
Additional Information
No response
The text was updated successfully, but these errors were encountered: