case class GuildCreate(rawData: Json, data: Later[Result[RawGuild]]) extends GuildEvent[RawGuild] with Product with Serializable
Sent to the shard after the shard connects to the gateway, when a previously unavailable guild becomes available, and when the client joins a new guild.
- data
The created guild object.
- Source
- gatewayData.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- GuildCreate
- Serializable
- Product
- Equals
- GuildEvent
- GatewayEvent
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val data: Later[Result[RawGuild]]
The data carried by this event.
The data carried by this event.
- Definition Classes
- GuildCreate → GatewayEvent
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def guildId: Eval[Result[GuildId]]
The guild id for this event.
The guild id for this event.
- Definition Classes
- GuildCreate → GuildEvent
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapData[A](f: (RawGuild) => A): Eval[Result[A]]
Maps the data in this event without evaluating it.
Maps the data in this event without evaluating it.
- Definition Classes
- GatewayEvent
- def name: String
The name of this event.
The name of this event.
- Definition Classes
- GuildCreate → GatewayEvent
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val rawData: Json
The raw data this event was created from.
The raw data this event was created from. Used for debugging and error reporting.
- Definition Classes
- GuildCreate → GatewayEvent
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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])