DiscordPartialGuild
constructor(id: Snowflake, name: String, icon: String?, owner: OptionalBoolean = OptionalBoolean.Missing, permissions: Optional<Permissions> = Optional.Missing(), features: List<GuildFeature>, welcomeScreen: Optional<DiscordWelcomeScreen> = Optional.Missing(), vanityUrlCode: Optional<String?> = Optional.Missing(), description: Optional<String?> = Optional.Missing(), banner: Optional<String?> = Optional.Missing(), splash: Optional<String?> = Optional.Missing(), nsfwLevel: Optional<NsfwLevel> = Optional.Missing(), verificationLevel: Optional<VerificationLevel> = Optional.Missing(), stageInstances: Optional<List<DiscordStageInstance>> = Optional.Missing(), stickers: Optional<List<DiscordMessageSticker>> = Optional.Missing(), guildScheduledEvents: Optional<List<DiscordGuildScheduledEvent>> = Optional.Missing(), approximateMemberCount: OptionalInt = OptionalInt.Missing, approximatePresenceCount: OptionalInt = OptionalInt.Missing, premiumProgressBarEnabled: OptionalBoolean = OptionalBoolean.Missing)(source)
Parameters
id
The guild id.
name
The guild name (2-100 characters, excluding trailing and leading whitespace)
icon
The icon hash.
owner
True if DiscordUser is the owner of the guild.
features
The enabled guild features.