Skip to content

RESTGetAPICurrentUserGuildsQuery

https://docs.discord.com/developers/resources/user#get-current-user-guilds

Signature

export interface RESTGetAPICurrentUserGuildsQuery

Properties

5

Methods

0

No methods.

Properties

limit?: number;

Max number of guilds to return (1-200)

@default200
with_counts?: boolean;

Include approximate member and presence counts in response

@defaultfalse
shard?: number;

Only return guilds stored in this shard, from `0` to `max_concurrency - 1` This is a storage shard, not the gateway shard ID. Required for apps using large bot sharding, which otherwise get a `400 Bad Request`. `max_concurrency` comes from the session start limit of Get Gateway Bot.