Skip to content

Assign role to multiple members in a single API call #1492

Discussion options

You must be logged in to vote

Discord's API is, by nature, rate-limited to avoid abuse. Unfortunately no, there is no way to modify multiple members in a single API request. As for "waiting 2 minutes between calls", the library simply follows the ratelimit headers provided by Discord when hitting this endpoint.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@eyagovbusiness
Comment options

Answer selected by eyagovbusiness
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@eyagovbusiness
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants