Packages

case class Guild(id: GuildId, name: String, icon: Option[String], splash: Option[String], isOwner: Option[Boolean], ownerId: UserId, permissions: Option[Permission], region: String, afkChannelId: Option[ChannelId], afkTimeout: Int, embedEnabled: Option[Boolean], embedChannelId: Option[ChannelId], verificationLevel: VerificationLevel, defaultMessageNotifications: NotificationLevel, explicitContentFilter: FilterLevel, roles: SnowflakeMap[Role, Role], emojis: SnowflakeMap[Emoji, Emoji], features: Seq[String], mfaLevel: MFALevel, applicationId: Option[RawSnowflake], widgetEnabled: Option[Boolean], widgetChannelId: Option[ChannelId], systemChannelId: Option[ChannelId], joinedAt: OffsetDateTime, large: Boolean, memberCount: Int, voiceStates: SnowflakeMap[User, VoiceState], members: SnowflakeMap[User, GuildMember], channels: SnowflakeMap[Channel, GuildChannel], presences: SnowflakeMap[User, Presence], maxPresences: Int, maxMembers: Option[Int], vanityUrlCode: Option[String], description: Option[String], banner: Option[String], premiumTier: PremiumTier, premiumSubscriptionCount: Option[Int]) extends UnknownStatusGuild with Product with Serializable

A guild or server in Discord.

id

The id of the guild.

name

The name of the guild.

icon

The icon hash.

splash

The splash hash.

isOwner

If the current user is the owner of the guild.

ownerId

The userId of the owner.

permissions

The permissions of the current user without overwrites.

region

The voice region

afkChannelId

The channelId of the AFK channel.

afkTimeout

The amount of seconds you need to be AFK before being moved to the AFK channel.

embedEnabled

If the embed is enabled.

embedChannelId

The channelId for the embed.

verificationLevel

The verification level for the guild.

defaultMessageNotifications

The notification level for the guild.

explicitContentFilter

The explicit content filter level for the guild.

roles

The roles of the guild.

emojis

The emojis of the guild.

features

The enabled guild features.

mfaLevel

The MFA level.

applicationId

The application id if this guild is bot created.

widgetEnabled

If the widget is enabled.

widgetChannelId

The channel id for the widget.

systemChannelId

The channel which system messages are sent to.

joinedAt

When the client joined the guild.

large

If this guild is above the large threshold.

memberCount

The amount of members in the guild.

voiceStates

The voice states of the guild.

members

The guild members in the guild.

channels

The channels in the guild.

presences

The presences in the guild.

maxPresences

The maximum amount of presences in the guild.

maxMembers

The maximum amount of members in the guild.

vanityUrlCode

The vanity url code for the guild.

description

A descriptiom fpr the guild.

banner

A banner hash for the guild.

premiumTier

The premium tier of the guild.

premiumSubscriptionCount

How many users that are boosting the server.

Source
guild.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Guild
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. UnknownStatusGuild
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Guild(id: GuildId, name: String, icon: Option[String], splash: Option[String], isOwner: Option[Boolean], ownerId: UserId, permissions: Option[Permission], region: String, afkChannelId: Option[ChannelId], afkTimeout: Int, embedEnabled: Option[Boolean], embedChannelId: Option[ChannelId], verificationLevel: VerificationLevel, defaultMessageNotifications: NotificationLevel, explicitContentFilter: FilterLevel, roles: SnowflakeMap[Role, Role], emojis: SnowflakeMap[Emoji, Emoji], features: Seq[String], mfaLevel: MFALevel, applicationId: Option[RawSnowflake], widgetEnabled: Option[Boolean], widgetChannelId: Option[ChannelId], systemChannelId: Option[ChannelId], joinedAt: OffsetDateTime, large: Boolean, memberCount: Int, voiceStates: SnowflakeMap[User, VoiceState], members: SnowflakeMap[User, GuildMember], channels: SnowflakeMap[Channel, GuildChannel], presences: SnowflakeMap[User, Presence], maxPresences: Int, maxMembers: Option[Int], vanityUrlCode: Option[String], description: Option[String], banner: Option[String], premiumTier: PremiumTier, premiumSubscriptionCount: Option[Int])

    id

    The id of the guild.

    name

    The name of the guild.

    icon

    The icon hash.

    splash

    The splash hash.

    isOwner

    If the current user is the owner of the guild.

    ownerId

    The userId of the owner.

    permissions

    The permissions of the current user without overwrites.

    region

    The voice region

    afkChannelId

    The channelId of the AFK channel.

    afkTimeout

    The amount of seconds you need to be AFK before being moved to the AFK channel.

    embedEnabled

    If the embed is enabled.

    embedChannelId

    The channelId for the embed.

    verificationLevel

    The verification level for the guild.

    defaultMessageNotifications

    The notification level for the guild.

    explicitContentFilter

    The explicit content filter level for the guild.

    roles

    The roles of the guild.

    emojis

    The emojis of the guild.

    features

    The enabled guild features.

    mfaLevel

    The MFA level.

    applicationId

    The application id if this guild is bot created.

    widgetEnabled

    If the widget is enabled.

    widgetChannelId

    The channel id for the widget.

    systemChannelId

    The channel which system messages are sent to.

    joinedAt

    When the client joined the guild.

    large

    If this guild is above the large threshold.

    memberCount

    The amount of members in the guild.

    voiceStates

    The voice states of the guild.

    members

    The guild members in the guild.

    channels

    The channels in the guild.

    presences

    The presences in the guild.

    maxPresences

    The maximum amount of presences in the guild.

    maxMembers

    The maximum amount of members in the guild.

    vanityUrlCode

    The vanity url code for the guild.

    description

    A descriptiom fpr the guild.

    banner

    A banner hash for the guild.

    premiumTier

    The premium tier of the guild.

    premiumSubscriptionCount

    How many users that are boosting the server.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def afkChannel: Option[VGuildChannel]

    Get the AFK channel of this guild.

  5. val afkChannelId: Option[ChannelId]
  6. val afkTimeout: Int
  7. val applicationId: Option[RawSnowflake]
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. val banner: Option[String]
  10. val channels: SnowflakeMap[Channel, GuildChannel]
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  12. val defaultMessageNotifications: NotificationLevel
  13. val description: Option[String]
  14. def embedChannel: Option[GuildChannel]

    Get the AFK channel of this guild.

  15. val embedChannelId: Option[ChannelId]
  16. val embedEnabled: Option[Boolean]
  17. val emojis: SnowflakeMap[Emoji, Emoji]
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def everyoneRole: Role

    Get the everyone role in this guild.

  20. val explicitContentFilter: FilterLevel
  21. val features: Seq[String]
  22. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. val icon: Option[String]
  25. val id: GuildId
    Definition Classes
    GuildUnknownStatusGuild
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. val isOwner: Option[Boolean]
  28. val joinedAt: OffsetDateTime
  29. val large: Boolean
  30. val maxMembers: Option[Int]
  31. val maxPresences: Int
  32. val memberCount: Int
  33. val members: SnowflakeMap[User, GuildMember]
  34. def mentionEveryone: String

    Get the everyone mention for this guild.

  35. val mfaLevel: MFALevel
  36. val name: String
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. def owner[F[_]](implicit c: CacheSnapshot[F]): OptionT[F, User]

    Get the owner this this guild.

  41. val ownerId: UserId
  42. val permissions: Option[Permission]
  43. val premiumSubscriptionCount: Option[Int]
  44. val premiumTier: PremiumTier
  45. val presences: SnowflakeMap[User, Presence]
  46. val region: String
  47. val roles: SnowflakeMap[Role, Role]
  48. val splash: Option[String]
  49. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  50. def systemChannel: Option[TGuildChannel]

    Get the system channel of this guild.

    Get the system channel of this guild. This is the first channel new users see when they join the guild.

  51. val systemChannelId: Option[ChannelId]
  52. def unavailable: Boolean
    Definition Classes
    GuildUnknownStatusGuild
  53. val vanityUrlCode: Option[String]
  54. val verificationLevel: VerificationLevel
  55. val voiceStates: SnowflakeMap[User, VoiceState]
  56. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  59. def widgetChannel: Option[GuildChannel]

    Get the widget channel of this guild.

  60. val widgetChannelId: Option[ChannelId]
  61. val widgetEnabled: Option[Boolean]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from UnknownStatusGuild

Inherited from AnyRef

Inherited from Any

Ungrouped