Update index.d.ts

This commit is contained in:
John Marlo 2022-04-01 19:01:39 +08:00 committed by GitHub
parent 3cd243a50f
commit 3d4fc9d518
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
typings/index.d.ts vendored
View File

@ -5264,7 +5264,7 @@ export interface MessageOptions {
tts?: boolean; tts?: boolean;
nonce?: string | number; nonce?: string | number;
content?: string | null; content?: string | null;
embeds?: (WebEmbed)[]; embeds?: (WebEmbed | MessageEmbedOptions | APIEmbed)[];
components?: (MessageActionRow | (Required<BaseMessageComponentOptions> & MessageActionRowOptions))[]; components?: (MessageActionRow | (Required<BaseMessageComponentOptions> & MessageActionRowOptions))[];
allowedMentions?: MessageMentionOptions; allowedMentions?: MessageMentionOptions;
files?: (FileOptions | BufferResolvable | Stream | MessageAttachment)[]; files?: (FileOptions | BufferResolvable | Stream | MessageAttachment)[];