Skip to content

Commit

Permalink
Get Current User Guilds now returns up to 200 guilds (#2915)
Browse files Browse the repository at this point in the history
  • Loading branch information
FasterSpeeding authored May 14, 2021
1 parent eb3f5be commit daa13f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/resources/User.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,15 @@ Returns a list of partial [guild](#DOCS_RESOURCES_GUILD/guild-object) objects th
```

> info
> This endpoint returns 100 guilds by default, which is the maximum number of guilds a non-bot user can join. Therefore, pagination is **not needed** for integrations that need to get a list of the users' guilds.
> This endpoint returns 200 guilds by default, which is the maximum number of guilds a non-bot user can join. Therefore, pagination is **not needed** for integrations that need to get a list of the users' guilds.
###### Query String Params

| Field | Type | Description | Required | Default |
| ------ | --------- | -------------------------------------- | -------- | ------- |
| before | snowflake | get guilds before this guild ID | false | absent |
| after | snowflake | get guilds after this guild ID | false | absent |
| limit | integer | max number of guilds to return (1-100) | false | 100 |
| limit | integer | max number of guilds to return (1-200) | false | 200 |

## Leave Guild % DELETE /users/@me/guilds/{guild.id#DOCS_RESOURCES_GUILD/guild-object}

Expand Down

0 comments on commit daa13f6

Please sign in to comment.