Strange behavior of Discord API to modify guild member #6281
Replies: 1 comment 4 replies
-
It'd be better if you use the Discord Developers server for help with the API As for your issue, the bot does not have the sufficient permissions to timeout the member you're trying to timeout, if your bot does have admin perms, then probably the member is either:
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to timeout user via the public Discord API
Im using this url /guilds/{guild.id}/members/{user.id}
Expected behavior:
Sending a request with communication_disabled_until parameter returns 200* code and user got timeout
Actual behavior
Sending a request with communication_disabled_until parameter and got error with "Missing permissions"
I tried this on another server and it works
My question why mute is works but timeout is not on same Endpoint, can u describe it in OpenAPI doc?
P.S My bot has Administrator permissions on the server
Thanks
Beta Was this translation helpful? Give feedback.
All reactions