getGuild

suspend fun getGuild(guildId: Snowflake, withCounts: Boolean = true): DiscordGuild(source)

Parameters

withCounts

whether to include the DiscordGuild.approximateMemberCount and DiscordGuild.approximatePresenceCount fields, true by default.