Skip to content

Commit c89c343

Browse files
authored
types(InteractionReplyOptions): allow setting MessageFlags.SuppressNotifications (#9199)
1 parent 992aa67 commit c89c343

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/discord.js/src/structures/interfaces/InteractionResponses.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ class InteractionResponses {
4040
* @property {boolean} [ephemeral] Whether the reply should be ephemeral
4141
* @property {boolean} [fetchReply] Whether to fetch the reply
4242
* @property {MessageFlags} [flags] Which flags to set for the message.
43-
* <info>Only `MessageFlags.SuppressEmbeds` and `MessageFlags.Ephemeral` can be set.</info>
43+
* <info>Only `MessageFlags.Ephemeral`, `MessageFlags.SuppressEmbeds`, and `MessageFlags.SuppressNotifications`
44+
* can be set.</info>
4445
*/
4546

4647
/**

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6061,8 +6061,8 @@ export interface InteractionReplyOptions extends BaseMessageOptions {
60616061
ephemeral?: boolean;
60626062
fetchReply?: boolean;
60636063
flags?: BitFieldResolvable<
6064-
Extract<MessageFlagsString, 'Ephemeral' | 'SuppressEmbeds'>,
6065-
MessageFlags.Ephemeral | MessageFlags.SuppressEmbeds
6064+
Extract<MessageFlagsString, 'Ephemeral' | 'SuppressEmbeds' | 'SuppressNotifications'>,
6065+
MessageFlags.Ephemeral | MessageFlags.SuppressEmbeds | MessageFlags.SuppressNotifications
60666066
>;
60676067
}
60686068

0 commit comments

Comments
 (0)