Update index.d.ts

This commit is contained in:
John Marlo 2022-04-01 16:14:20 +08:00 committed by GitHub
parent 65b74654ea
commit 6540a018e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
typings/index.d.ts vendored
View File

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