Skip to content

Commit

Permalink
make EditWebhookMessageOptions nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
DonovanDMC authored Apr 18, 2024
1 parent 8b5ba22 commit ae2b8fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/types/webhooks.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export interface GetWebhookMessageOptions {
threadID?: string;
}

export interface EditWebhookMessageOptions extends Pick<ExecuteWebhookOptions, "content" | "embeds" | "allowedMentions" | "components" | "attachments" | "threadID" | "files"> {}
export interface EditWebhookMessageOptions extends Nullable<Pick<ExecuteWebhookOptions, "content" | "embeds" | "allowedMentions" | "components" | "attachments" | "threadID" | "files">> {}

export interface DeleteWebhookMessageOptions {
/** The id of the thread the message is in. */
Expand Down

0 comments on commit ae2b8fc

Please sign in to comment.