Table of Contents

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 ulong

The guild ID.

soundId ulong

The 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 string

The reason.

Returns

Task<DiscordSoundboardSound>