Functions

Link copied to clipboard
open fun format(format: String): String

Formats the name of the entity

Link copied to clipboard
open override fun formatTo(formatter: Formatter?, flags: Int, width: Int, precision: Int)

Formats the object using the provided {@link Formatter formatter}.

Properties

Link copied to clipboard
open val asIncrement: Long

The increment of this snowflake.

Link copied to clipboard
open val asProcessId: Long

The process id of this snowflake.

Link copied to clipboard
open val asTimestamp: Long

The timestamp of this snowflake. (Milliseconds since Discord Epoch, the first second of 2015 or 1420070400000.)

Link copied to clipboard
open val asWorkerId: Long

The worker id of this snowflake.

Link copied to clipboard
abstract val channel: GuildChannel?

The channel which the scheduled event belongs to.

Link copied to clipboard
abstract val coverImage: String?

The cover image hash of the scheduled event.

Link copied to clipboard
abstract val creator: User?

The user which created the scheduled event.

Link copied to clipboard
abstract val description: String?

The description of the scheduled event.

Link copied to clipboard
abstract val entityId: GetterSnowFlake?

The entity id of the scheduled event.

Link copied to clipboard

The entity metadata of the scheduled event.

Link copied to clipboard
abstract val entityType: EntityType

The entity type of the scheduled event.

Link copied to clipboard
abstract val guild: Guild

The guild which the scheduled event belongs to.

Link copied to clipboard
open val id: String

The id of this snowflake as a String.

Link copied to clipboard
abstract val idAsLong: Long

The id of this snowflake as a Long.

Link copied to clipboard
abstract val json: JsonNode

The json representation of this entity.

Link copied to clipboard
abstract var name: String
Link copied to clipboard

The privacy level of the scheduled event.

Link copied to clipboard

The Scheduled end time of the scheduled event.

Link copied to clipboard

The Scheduled start time of the scheduled event.

Link copied to clipboard

The status of the scheduled event.

Link copied to clipboard
abstract val subscriberCount: Int

The number of users subscribed to the scheduled event.

Link copied to clipboard
abstract val user: User?

The user that created the scheduled event.

Link copied to clipboard
abstract val yde: YDE

The main YDE instance.