Method ModifyGuildSoundboardSoundAsync
- Namespace
- DisCatSharp.Net
- Assembly
- DisCatSharp.dll
ModifyGuildSoundboardSoundAsync(ulong, ulong, Optional<string>, Optional<double?>, Optional<ulong?>, Optional<string?>, string?)
Modifies an existing soundboard sound.
public Task<DiscordSoundboardSound> ModifyGuildSoundboardSoundAsync(ulong guildId, ulong soundId, Optional<string> name, Optional<double?> volume, Optional<ulong?> emojiId, Optional<string?> emojiName, string? reason = null)
Parameters
guildId
ulongThe guild ID.
soundId
ulongThe soundboard sound ID.
name
Optional<string>The new name of the soundboard sound (optional).
volume
Optional<double?>The new volume of the soundboard sound (optional).
emojiId
Optional<ulong?>The new custom emoji ID (optional).
emojiName
Optional<string>The new standard emoji name (optional).
reason
stringThe reason.