ChannelSelectMenuImpl

class ChannelSelectMenuImpl(yde: YDE, json: JsonNode, interactionId: GetterSnowFlake) : SelectMenuImpl, ChannelSelectMenu(source)

Constructors

Link copied to clipboard
constructor(componentInteractionImpl: ComponentInteractionImpl)
constructor(yde: YDE, json: JsonNode, interactionId: GetterSnowFlake)

Functions

Link copied to clipboard
abstract fun reply(embed: Embed): Reply
abstract fun reply(content: String): Reply

Replies to an interaction.

Link copied to clipboard
abstract override fun toString(): String

Converts this entity to a string using the io.github.ydwk.ydwk.util.EntityToStringBuilder.

Properties

Link copied to clipboard

The application id of this component.

Link copied to clipboard
abstract val channel: TextChannel?

The channel were this component was triggered.

Link copied to clipboard
abstract val components: List<Component>

Gets a list of Components that were sent with this component.

Link copied to clipboard
abstract val customId: String

The custom id of the select menu.

Link copied to clipboard

Gets extra data sent with this component.

Link copied to clipboard
abstract val guild: Guild?

The guild of this component.

Link copied to clipboard

The interaction id.

Link copied to clipboard
abstract val interactionToken: String

The interaction token.

Link copied to clipboard

The interaction type of this component.

Link copied to clipboard
abstract val isDisabled: Boolean

Whether select menu is disabled (defaults to false)

Link copied to clipboard
abstract val json: JsonNode

The json representation of this entity.

Link copied to clipboard
abstract val maxValues: Int

The maximum number of items that can be chosen; default 1, max 25.

Link copied to clipboard
abstract val member: Member?

The member who triggered this component.

Link copied to clipboard
abstract val message: Message

The message corresponding to this component.

Link copied to clipboard
abstract val minValues: Int

The minimum number of items that must be chosen; default 1, min 0, max 25.

Link copied to clipboard
abstract val placeholder: String?

The placeholder text if nothing is selected; max 150 characters.

Link copied to clipboard
open override val selectedChannels: List<GuildChannel>

The channels that are selected.

Link copied to clipboard

The select menu types.

Link copied to clipboard
abstract val type: ComponentType

The type of component interaction.

Link copied to clipboard
abstract val user: User?

The user who triggered this component.

Link copied to clipboard
abstract val values: List<String>

The list of values of the select menu.

Link copied to clipboard
abstract val yde: YDE

The main YDE instance.