Skip to content

Commit e3c247e

Browse files
authored
types(GuildSoundboardSoundEditOptions): add missing reason (#10863)
1 parent 5f3fc17 commit e3c247e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/discord.js/src/managers/GuildSoundboardSoundManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class GuildSoundboardSoundManager extends CachedManager {
105105
* Data for editing a soundboard sound.
106106
* @typedef {Object} GuildSoundboardSoundEditOptions
107107
* @property {string} [name] The name of the soundboard sound
108-
* @property {?number} [volume] The volume of the soundboard sound, from 0 to 1
108+
* @property {?number} [volume] The volume (a double) of the soundboard sound, from 0 (inclusive) to 1
109109
* @property {?Snowflake} [emojiId] The emoji id of the soundboard sound
110110
* @property {?string} [emojiName] The emoji name of the soundboard sound
111111
* @property {string} [reason] The reason for editing the soundboard sound

packages/discord.js/typings/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4857,6 +4857,7 @@ export interface GuildSoundboardSoundEditOptions {
48574857
volume?: number | null;
48584858
emojiId?: Snowflake | null;
48594859
emojiName?: string | null;
4860+
reason?: string;
48604861
}
48614862

48624863
export interface FetchGuildSoundboardSoundOptions extends BaseFetchOptions {

0 commit comments

Comments
 (0)