SoundboardSound

Representation of a soundboard sound.

Inheritors

Properties

Link copied to clipboard
open val available: Boolean

whether this sound can be used, may be false due to loss of Server Boosts

Link copied to clipboard

the cache data

Link copied to clipboard
open val emojiName: String?

the unicode character of this sound's standard emoji (if set)

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
open val name: String

the name of this sound

Link copied to clipboard
open val soundId: Snowflake

the id of this sound

Link copied to clipboard
abstract val supplier: EntitySupplier

The supplier used to request entities.

Link copied to clipboard
open val volume: Double

the volume of this sound, from 0.0 to 1.0

Functions

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

Compares entities on id.

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

Plays this sound in channel.

Link copied to clipboard
abstract override fun withStrategy(strategy: EntitySupplyStrategy<*>): SoundboardSound

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