mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 19:13:31 +01:00
fix: typings for 'WebhookMessageOptions' (#5476)
This commit is contained in:
6
typings/index.d.ts
vendored
6
typings/index.d.ts
vendored
@@ -3381,7 +3381,11 @@ declare module 'discord.js' {
|
|||||||
|
|
||||||
type WebhookEditMessageOptions = Pick<WebhookMessageOptions, 'content' | 'embeds' | 'files' | 'allowedMentions'>;
|
type WebhookEditMessageOptions = Pick<WebhookMessageOptions, 'content' | 'embeds' | 'files' | 'allowedMentions'>;
|
||||||
|
|
||||||
type WebhookMessageOptions = Omit<MessageOptions, 'embed'> & { embeds?: (MessageEmbed | object)[] };
|
type WebhookMessageOptions = Omit<MessageOptions, 'embed' | 'replyTo'> & {
|
||||||
|
username?: string;
|
||||||
|
avatarURL?: string;
|
||||||
|
embeds?: (MessageEmbed | object)[];
|
||||||
|
};
|
||||||
|
|
||||||
type WebhookRawMessageResponse = Omit<APIRawMessage, 'author'> & {
|
type WebhookRawMessageResponse = Omit<APIRawMessage, 'author'> & {
|
||||||
author: {
|
author: {
|
||||||
|
|||||||
Reference in New Issue
Block a user