Method GetCurrentUserGuilds
| Improve this Doc View SourceGetCurrentUserGuilds(int?, Snowflake?, GuildGetStrategy)
Gets a list of user guilds the current bot is in.
Declaration
public Task<DiscordUserGuild[]> GetCurrentUserGuilds(int? limit = null, Snowflake? baseGuildId = null, GuildGetStrategy getStrategy = GuildGetStrategy.After)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | limit | |
| Snowflake? | baseGuildId | |
| GuildGetStrategy | getStrategy |
Returns
| Type | Description |
|---|---|
| Task<DiscordUserGuild[]> |
Exceptions
| Type | Condition |
|---|---|
| DiscordHttpApiException |