Class DiscordSoundboardSound
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
Represents a soundboard sound in a Discord guild.
public sealed class DiscordSoundboardSound : SnowflakeObject
- Inheritance
-
DiscordSoundboardSound
- Inherited Members
Properties
- Available
Gets whether this sound can be used.
- EmojiId
Gets the emoji id of the soundboard sound's custom emoji, if applicable.
- EmojiName
Gets the emoji name of the soundboard sound's standard emoji, if applicable.
- Guild
Gets the guild this sound belongs to, if applicable.
- GuildId
Gets the guild id this sound belongs to, if applicable.
- Id
Gets the ID of this object.
- Name
Gets the name of the soundboard sound.
- Url
Gets the sound URL (as mp3) of this sound.
- User
Gets the user who created this soundboard sound, if applicable.
- Volume
Gets the volume of the soundboard sound (0 to 1).
Methods
- DeleteSoundboardSoundAsync(string?)
Deletes the soundboard sound.
- ModifyAsync(Action<SoundboardSoundEditModel>)
Modifies the soundboard sound.