File tree 2 files changed +3
-7
lines changed
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -141,8 +141,7 @@ class Webhook {
141
141
142
142
/**
143
143
* Options that can be passed into editMessage.
144
- * @typedef {BaseMessageOptions } WebhookMessageEditOptions
145
- * @property {Attachment[] } [attachments] Attachments to send with the message
144
+ * @typedef {MessageEditOptions } WebhookMessageEditOptions
146
145
* @property {Snowflake } [threadId] The id of the thread this message belongs to
147
146
* <info>For interaction webhooks, this property is ignored</info>
148
147
*/
Original file line number Diff line number Diff line change @@ -6506,10 +6506,7 @@ export interface InteractionCollectorOptions<
6506
6506
export interface InteractionDeferReplyOptions {
6507
6507
/** @deprecated Use {@link InteractionDeferReplyOptions.flags} instead. */
6508
6508
ephemeral ?: boolean ;
6509
- flags ?: BitFieldResolvable <
6510
- Extract < MessageFlagsString , 'Ephemeral' | 'SuppressEmbeds' | 'SuppressNotifications' > ,
6511
- MessageFlags . Ephemeral | MessageFlags . SuppressEmbeds | MessageFlags . SuppressNotifications
6512
- > ;
6509
+ flags ?: BitFieldResolvable < Extract < MessageFlagsString , 'Ephemeral' > , MessageFlags . Ephemeral > ;
6513
6510
withResponse ?: boolean ;
6514
6511
/** @deprecated Use {@link InteractionDeferReplyOptions.withResponse} instead. */
6515
6512
fetchReply ?: boolean ;
@@ -7240,7 +7237,7 @@ export interface WebhookEditOptions {
7240
7237
reason ?: string ;
7241
7238
}
7242
7239
7243
- export interface WebhookMessageEditOptions extends Omit < MessageEditOptions , 'flags' > {
7240
+ export interface WebhookMessageEditOptions extends MessageEditOptions {
7244
7241
threadId ?: Snowflake ;
7245
7242
}
7246
7243
You can’t perform that action at this time.
0 commit comments