Table of Contents

Method GetGuildAsync

Namespace
DSharpPlus
Assembly
DSharpPlus.Rest.dll

GetGuildAsync(ulong, bool?)

Gets a guild.

public Task<DiscordGuild> GetGuildAsync(ulong guildId, bool? withCounts = null)

Parameters

guildId ulong

The guild ID to search for.

withCounts bool?

Whether to include approximate presence and member counts in the returned guild.

Returns

Task<DiscordGuild>