diff --git a/packages/discord.js/src/structures/interfaces/TextBasedChannel.js b/packages/discord.js/src/structures/interfaces/TextBasedChannel.js index fd391f5df3a3a..fb21999b019ea 100644 --- a/packages/discord.js/src/structures/interfaces/TextBasedChannel.js +++ b/packages/discord.js/src/structures/interfaces/TextBasedChannel.js @@ -78,6 +78,7 @@ class TextBasedChannel { * @typedef {BaseMessageOptions} BaseMessageCreateOptions * @property {boolean} [tts=false] Whether the message should be spoken aloud * @property {string} [nonce=''] The nonce for the message + * @property {boolean} [enforceNonce=false] Whether the message should check for uniqueness * @property {StickerResolvable[]} [stickers=[]] The stickers to send in the message * @property {MessageFlags} [flags] Which flags to set for the message. * Only `MessageFlags.SuppressEmbeds` and `MessageFlags.SuppressNotifications` can be set. diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index 92beb12bdae42..31fb8dc508971 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -6223,6 +6223,7 @@ export interface BaseMessageOptions { export interface MessageCreateOptions extends BaseMessageOptions { tts?: boolean; nonce?: string | number; + enforceNonce?: boolean; reply?: ReplyOptions; stickers?: StickerResolvable[]; flags?: BitFieldResolvable<