Method GetCurrentUserGuildsAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
GetCurrentUserGuildsAsync(int, ulong?, ulong?)
Gets current user's guilds
public Task<IReadOnlyList<DiscordGuild>> GetCurrentUserGuildsAsync(int limit = 100, ulong? before = null, ulong? after = null)
Parameters
limit
intLimit of guilds to get
before
ulong?Gets guild before ID
after
ulong?Gets guilds after ID
Returns
- Task<IReadOnlyList<DiscordGuild>>