Interaction

Properties

Link copied to clipboard

The Id of the application that this interaction is for.

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: Channel?

The channel that this interaction is for.

Link copied to clipboard
abstract val data: GenericCommandData?

The data of this interaction.

Link copied to clipboard
abstract val guild: Guild?

The guild that this interaction is for.

Link copied to clipboard
abstract val guildLocale: String?

The Guild's preferred locale, if invoked in a guild

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 val locale: String?

The selected language of the invoking user

Link copied to clipboard
abstract val member: Member?

The member who invoked this interaction.

Link copied to clipboard
abstract val message: Message?

The message of this interaction.

Link copied to clipboard
abstract val permissions: Long?

Gets bitwise set of permissions the app or bot has within the channel the interaction was sent from

Link copied to clipboard
abstract val token: String

The token of this interaction.

Link copied to clipboard
abstract val type: InteractionType

The type of this interaction.

Link copied to clipboard
abstract val user: User

The user who invoked this interaction.

Link copied to clipboard
abstract val version: Int

The version of this interaction.

Link copied to clipboard
abstract val yde: YDE

The main YDE instance.