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 var botOwner: User?

The owner of the bot.

Link copied to clipboard
abstract var botPrivacyPolicy: URL?

The bots privacy policy.

Link copied to clipboard
abstract var botPublic: Boolean

If the bot can only be added by the bot owner.

Link copied to clipboard

If the bot will only join upon completion of the full oauth2 code grant flow.

Link copied to clipboard
abstract var botTermsOfService: URL?

The bots terms of service.

Link copied to clipboard
abstract var coverImage: String?

The cover image hash of the application.

Link copied to clipboard
abstract var description: String

The description of the application.

Link copied to clipboard
abstract var flags: Int?

The application's public flags.

Link copied to clipboard
abstract var gameSdkId: GetterSnowFlake?

The game sdk id of the application.

Link copied to clipboard
abstract var guild: Guild?

Gets the guild this application is for.

Link copied to clipboard
abstract var icon: String?

The icon hash of the application.

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
abstract var rpcOrigins: Array<String>?

An array of rpc origin urls, if rpc is enabled.

Link copied to clipboard
abstract var slug: String?

The url of the slug for the application.

Link copied to clipboard
abstract var tags: Array<String>?

The application's tags.

Link copied to clipboard
abstract var verifyKey: String?

The hex encoded key for verification in interactions and the GameSDK's GetTicket.

Link copied to clipboard
abstract val yde: YDE

The main YDE instance.