types(GuildSoundboardSoundEditOptions): add missing reason (#10863)

This commit is contained in:
Danial Raza
2025-04-28 18:20:59 +02:00
committed by GitHub
parent 5f3fc170fb
commit e3c247e423
2 changed files with 2 additions and 1 deletions

View File

@@ -105,7 +105,7 @@ class GuildSoundboardSoundManager extends CachedManager {
* Data for editing a soundboard sound.
* @typedef {Object} GuildSoundboardSoundEditOptions
* @property {string} [name] The name of the soundboard sound
* @property {?number} [volume] The volume of the soundboard sound, from 0 to 1
* @property {?number} [volume] The volume (a double) of the soundboard sound, from 0 (inclusive) to 1
* @property {?Snowflake} [emojiId] The emoji id of the soundboard sound
* @property {?string} [emojiName] The emoji name of the soundboard sound
* @property {string} [reason] The reason for editing the soundboard sound

View File

@@ -4857,6 +4857,7 @@ export interface GuildSoundboardSoundEditOptions {
volume?: number | null;
emojiId?: Snowflake | null;
emojiName?: string | null;
reason?: string;
}
export interface FetchGuildSoundboardSoundOptions extends BaseFetchOptions {