case class RequestsGuild(id: GuildId, name: String, icon: Option[String], iconHash: Option[String], splash: Option[String], discoverySplash: Option[String], isOwner: Option[Boolean], ownerId: UserId, permissions: Option[Permission], afkChannelId: Option[NormalVoiceGuildChannelId], afkTimeout: Int, widgetEnabled: Option[Boolean], widgetChannelId: Option[GuildChannelId], verificationLevel: VerificationLevel, defaultMessageNotifications: NotificationLevel, explicitContentFilter: FilterLevel, roles: SnowflakeMap[Role, Role], emojis: SnowflakeMap[Emoji, Emoji], features: Seq[GuildFeature], mfaLevel: MFALevel, applicationId: Option[ApplicationId], systemChannelId: Option[TextGuildChannelId], systemChannelFlags: SystemChannelFlags, rulesChannelId: Option[TextGuildChannelId], maxPresences: Option[Int], maxMembers: Option[Int], vanityUrlCode: Option[String], description: Option[String], banner: Option[String], premiumTier: PremiumTier, premiumSubscriptionCount: Option[Int], preferredLocale: Option[String], publicUpdatesChannelId: Option[TextGuildChannelId], maxVideoChannelUsers: Option[Int], approximateMemberCount: Option[Int], approximatePresenceCount: Option[Int], nsfwLevel: NSFWLevel, stickers: SnowflakeMap[Sticker, Sticker], premiumProgressBarEnabled: Boolean) extends Guild with Product with Serializable
A guild or server in Discord. This object is usually gotten from a request.
- isOwner
If the current user is the owner of the guild.
- permissions
The permissions of the current user without overwrites.
- approximateMemberCount
Roughly how many members there is in the guild. Present when gotten from the ackcord.requests.GetGuild endpoint with
withCounts = true
- approximatePresenceCount
Roughly how many presences there is in the guild. Present when gotten from the ackcord.requests.GetGuild endpoint with
withCounts = true
- Source
- guild.scala
- Alphabetic
- By Inheritance
- RequestsGuild
- Serializable
- Product
- Equals
- Guild
- UnknownStatusGuild
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new RequestsGuild(id: GuildId, name: String, icon: Option[String], iconHash: Option[String], splash: Option[String], discoverySplash: Option[String], isOwner: Option[Boolean], ownerId: UserId, permissions: Option[Permission], afkChannelId: Option[NormalVoiceGuildChannelId], afkTimeout: Int, widgetEnabled: Option[Boolean], widgetChannelId: Option[GuildChannelId], verificationLevel: VerificationLevel, defaultMessageNotifications: NotificationLevel, explicitContentFilter: FilterLevel, roles: SnowflakeMap[Role, Role], emojis: SnowflakeMap[Emoji, Emoji], features: Seq[GuildFeature], mfaLevel: MFALevel, applicationId: Option[ApplicationId], systemChannelId: Option[TextGuildChannelId], systemChannelFlags: SystemChannelFlags, rulesChannelId: Option[TextGuildChannelId], maxPresences: Option[Int], maxMembers: Option[Int], vanityUrlCode: Option[String], description: Option[String], banner: Option[String], premiumTier: PremiumTier, premiumSubscriptionCount: Option[Int], preferredLocale: Option[String], publicUpdatesChannelId: Option[TextGuildChannelId], maxVideoChannelUsers: Option[Int], approximateMemberCount: Option[Int], approximatePresenceCount: Option[Int], nsfwLevel: NSFWLevel, stickers: SnowflakeMap[Sticker, Sticker], premiumProgressBarEnabled: Boolean)
- isOwner
If the current user is the owner of the guild.
- permissions
The permissions of the current user without overwrites.
- approximateMemberCount
Roughly how many members there is in the guild. Present when gotten from the ackcord.requests.GetGuild endpoint with
withCounts = true
- approximatePresenceCount
Roughly how many presences there is in the guild. Present when gotten from the ackcord.requests.GetGuild endpoint with
withCounts = true
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val afkChannelId: Option[NormalVoiceGuildChannelId]
The channelId of the AFK channel.
The channelId of the AFK channel.
- Definition Classes
- RequestsGuild → Guild
- val afkTimeout: Int
The amount of seconds you need to be AFK before being moved to the AFK channel.
The amount of seconds you need to be AFK before being moved to the AFK channel.
- Definition Classes
- RequestsGuild → Guild
- val applicationId: Option[ApplicationId]
The application id if this guild is bot created.
The application id if this guild is bot created.
- Definition Classes
- RequestsGuild → Guild
- val approximateMemberCount: Option[Int]
- val approximatePresenceCount: Option[Int]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val banner: Option[String]
A banner hash for the guild.
A banner hash for the guild.
- Definition Classes
- RequestsGuild → Guild
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val defaultMessageNotifications: NotificationLevel
The notification level for the guild.
The notification level for the guild.
- Definition Classes
- RequestsGuild → Guild
- val description: Option[String]
A description for a community guild.
A description for a community guild.
- Definition Classes
- RequestsGuild → Guild
- val discoverySplash: Option[String]
The discovery splash hash.
The discovery splash hash.
- Definition Classes
- RequestsGuild → Guild
- val emojis: SnowflakeMap[Emoji, Emoji]
The emojis of the guild.
The emojis of the guild.
- Definition Classes
- RequestsGuild → Guild
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def everyoneRole: Role
Get the everyone role in this guild.
Get the everyone role in this guild.
- Definition Classes
- Guild
- val explicitContentFilter: FilterLevel
The explicit content filter level for the guild.
The explicit content filter level for the guild.
- Definition Classes
- RequestsGuild → Guild
- val features: Seq[GuildFeature]
The enabled guild features.
The enabled guild features.
- Definition Classes
- RequestsGuild → Guild
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val icon: Option[String]
The icon hash.
The icon hash.
- Definition Classes
- RequestsGuild → Guild
- val iconHash: Option[String]
Used for template objects.
Used for template objects.
- Definition Classes
- RequestsGuild → Guild
- val id: GuildId
The id of the guild.
The id of the guild.
- Definition Classes
- RequestsGuild → UnknownStatusGuild
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isOwner: Option[Boolean]
- val maxMembers: Option[Int]
The maximum amount of members in the guild.
The maximum amount of members in the guild.
- Definition Classes
- RequestsGuild → Guild
- val maxPresences: Option[Int]
The maximum amount of presences in the guild.
The maximum amount of presences in the guild.
- Definition Classes
- RequestsGuild → Guild
- val maxVideoChannelUsers: Option[Int]
The max amount of users in a video call.
The max amount of users in a video call.
- Definition Classes
- RequestsGuild → Guild
- def mentionEveryone: String
Get the everyone mention for this guild.
Get the everyone mention for this guild.
- Definition Classes
- Guild
- val mfaLevel: MFALevel
The MFA level.
The MFA level.
- Definition Classes
- RequestsGuild → Guild
- val name: String
The name of the guild.
The name of the guild.
- Definition Classes
- RequestsGuild → Guild
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val nsfwLevel: NSFWLevel
The guild NSFW level.
The guild NSFW level.
- Definition Classes
- RequestsGuild → Guild
- def owner(implicit c: CacheSnapshot): Option[User]
Get the owner this this guild.
Get the owner this this guild.
- Definition Classes
- Guild
- val ownerId: UserId
The userId of the owner.
The userId of the owner.
- Definition Classes
- RequestsGuild → Guild
- val permissions: Option[Permission]
- val preferredLocale: Option[String]
The preferred locale of a community guild.
The preferred locale of a community guild.
- Definition Classes
- RequestsGuild → Guild
- val premiumProgressBarEnabled: Boolean
- val premiumSubscriptionCount: Option[Int]
How many users that are boosting the server.
How many users that are boosting the server.
- Definition Classes
- RequestsGuild → Guild
- val premiumTier: PremiumTier
The premium tier of the guild.
The premium tier of the guild.
- Definition Classes
- RequestsGuild → Guild
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val publicUpdatesChannelId: Option[TextGuildChannelId]
The channel where admin and mods can see public updates are sent to public guilds.
The channel where admin and mods can see public updates are sent to public guilds.
- Definition Classes
- RequestsGuild → Guild
- val roles: SnowflakeMap[Role, Role]
The roles of the guild.
The roles of the guild.
- Definition Classes
- RequestsGuild → Guild
- val rulesChannelId: Option[TextGuildChannelId]
The id for the channel where the rules of a guild are stored.
The id for the channel where the rules of a guild are stored.
- Definition Classes
- RequestsGuild → Guild
- val splash: Option[String]
The splash hash.
The splash hash.
- Definition Classes
- RequestsGuild → Guild
- val stickers: SnowflakeMap[Sticker, Sticker]
The stickers of the guild.
The stickers of the guild.
- Definition Classes
- RequestsGuild → Guild
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val systemChannelFlags: SystemChannelFlags
The flags for the system channel.
The flags for the system channel.
- Definition Classes
- RequestsGuild → Guild
- val systemChannelId: Option[TextGuildChannelId]
The channel which notices like welcome and boost messages are sent to.
The channel which notices like welcome and boost messages are sent to.
- Definition Classes
- RequestsGuild → Guild
- def toGatewayGuild(joinedAt: OffsetDateTime, large: Boolean, memberCount: Int, voiceStates: Seq[VoiceState], members: Seq[RawGuildMember], rawChannels: Seq[RawChannel], rawThreads: Seq[RawChannel], presences: Seq[RawPresence], stageInstances: Option[Seq[StageInstance]], guildScheduledEvents: Option[Seq[GuildScheduledEvent]], botUserId: Option[UserId]): GatewayGuild
- def unavailable: Option[Boolean]
- Definition Classes
- Guild → UnknownStatusGuild
- val vanityUrlCode: Option[String]
The vanity url code for the guild.
The vanity url code for the guild.
- Definition Classes
- RequestsGuild → Guild
- val verificationLevel: VerificationLevel
The verification level for the guild.
The verification level for the guild.
- Definition Classes
- RequestsGuild → Guild
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val widgetChannelId: Option[GuildChannelId]
The channel id for the widget.
The channel id for the widget.
- Definition Classes
- RequestsGuild → Guild
- val widgetEnabled: Option[Boolean]
If the widget is enabled.
If the widget is enabled.
- Definition Classes
- RequestsGuild → Guild