mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
feat: v13 support SUPPRESS_NOTIFICATIONS flag (#9184)
feat: add suppress notifications flag
This commit is contained in:
5
typings/index.d.ts
vendored
5
typings/index.d.ts
vendored
@@ -5817,7 +5817,8 @@ export type MessageFlagsString =
|
||||
| 'URGENT'
|
||||
| 'HAS_THREAD'
|
||||
| 'EPHEMERAL'
|
||||
| 'LOADING';
|
||||
| 'LOADING'
|
||||
| 'SUPPRESS_NOTIFICATIONS';
|
||||
|
||||
export interface MessageInteraction {
|
||||
id: Snowflake;
|
||||
@@ -5853,7 +5854,7 @@ export interface MessageOptions {
|
||||
reply?: ReplyOptions;
|
||||
stickers?: StickerResolvable[];
|
||||
attachments?: MessageAttachment[];
|
||||
flags?: BitFieldResolvable<'SUPPRESS_EMBEDS', number>;
|
||||
flags?: BitFieldResolvable<'SUPPRESS_EMBEDS' | 'SUPPRESS_NOTIFICATIONS', number>;
|
||||
}
|
||||
|
||||
export type MessageReactionResolvable = MessageReaction | Snowflake | string;
|
||||
|
||||
Reference in New Issue
Block a user