GuildSoundboardSoundBehavior

Behavior of guild soundboard sounds.

Inheritors

Properties

Link copied to clipboard

The behavior of the guild this emoji is part of.

Link copied to clipboard
abstract val guildId: Snowflake

The id of the guild the sound is on.

Link copied to clipboard
abstract val id: Snowflake

The unique identifier of this entity.

Link copied to clipboard
abstract val kord: Kord

The kord instance that created this object.

Link copied to clipboard
abstract val supplier: EntitySupplier

The supplier used to request entities.

Functions

Link copied to clipboard

Requests to get this behavior as a GuildSoundboardSoundBehavior .

Link copied to clipboard

Requests to get this behavior as a GuildSoundboardSoundBehavior or null if the sound does not exist.

Link copied to clipboard
open operator override fun compareTo(other: Entity): Int

Compares entities on id.

Link copied to clipboard
open suspend fun delete(reason: String? = null)

Deletes this sound.

Link copied to clipboard

Modifies this sound.

Link copied to clipboard

Retrieves to get this behavior as a GuildSoundboardSoundBehavior .

Link copied to clipboard

Retrieves to get this behavior as a GuildSoundboardSoundBehavior or null if the sound does not exist.

Link copied to clipboard
open suspend override fun send(channel: VoiceChannelBehavior)

Plays this sound in channel.

Link copied to clipboard

Returns a copy of this class with a new supplier provided by the strategy.