mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
types(GuildSoundboardSoundEditOptions): add missing reason (#10863)
This commit is contained in:
@@ -105,7 +105,7 @@ class GuildSoundboardSoundManager extends CachedManager {
|
|||||||
* Data for editing a soundboard sound.
|
* Data for editing a soundboard sound.
|
||||||
* @typedef {Object} GuildSoundboardSoundEditOptions
|
* @typedef {Object} GuildSoundboardSoundEditOptions
|
||||||
* @property {string} [name] The name of the soundboard sound
|
* @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 {?Snowflake} [emojiId] The emoji id of the soundboard sound
|
||||||
* @property {?string} [emojiName] The emoji name of the soundboard sound
|
* @property {?string} [emojiName] The emoji name of the soundboard sound
|
||||||
* @property {string} [reason] The reason for editing the soundboard sound
|
* @property {string} [reason] The reason for editing the soundboard sound
|
||||||
|
|||||||
1
packages/discord.js/typings/index.d.ts
vendored
1
packages/discord.js/typings/index.d.ts
vendored
@@ -4857,6 +4857,7 @@ export interface GuildSoundboardSoundEditOptions {
|
|||||||
volume?: number | null;
|
volume?: number | null;
|
||||||
emojiId?: Snowflake | null;
|
emojiId?: Snowflake | null;
|
||||||
emojiName?: string | null;
|
emojiName?: string | null;
|
||||||
|
reason?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FetchGuildSoundboardSoundOptions extends BaseFetchOptions {
|
export interface FetchGuildSoundboardSoundOptions extends BaseFetchOptions {
|
||||||
|
|||||||
Reference in New Issue
Block a user