DiscordSoundboardSound
data class DiscordSoundboardSound(val name: String, val soundId: Snowflake, val volume: Double, val emojiId: Snowflake?, val emojiName: String?, val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val available: Boolean, val user: Optional<DiscordUser> = Optional.Missing())(source)
Representation of a Soundboard Sound.
Constructors
Link copied to clipboard
constructor(name: String, soundId: Snowflake, volume: Double, emojiId: Snowflake?, emojiName: String?, guildId: OptionalSnowflake = OptionalSnowflake.Missing, available: Boolean, user: Optional<DiscordUser> = Optional.Missing())
Properties
Link copied to clipboard
the id of this sound's custom emoji (if set)
Link copied to clipboard
the unicode character of this sound's standard emoji (if set)
Link copied to clipboard
the id of the guild this sound is in, or OptionalSnowflake.Missing for default sounds
Link copied to clipboard
the id of this sound
Link copied to clipboard
the user who created this sound, or OptionalSnowflake.Missing for default sounds