Skip to content

Commit

Permalink
Add components to webhook content in ts
Browse files Browse the repository at this point in the history
Co-authored-by: Donovan Daniels <hewwo@yiff.rocks>
  • Loading branch information
JustCat80 and DonovanDMC committed Aug 25, 2021
1 parent a7a5473 commit cbbbe04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ declare namespace Eris {
data?: InteractionContent;
}

type InteractionContent = Pick<WebhookPayload, "content" | "embeds" | "allowedMentions" | "tts" | "flags">;
type InteractionWebhookContent = Pick<WebhookPayload, "content" | "embeds" | "file" | "allowedMentions" | "tts" | "flags">;
type InteractionContent = Pick<WebhookPayload, "content" | "embeds" | "allowedMentions" | "tts" | "flags" | "components">;
type InteractionWebhookContent = Pick<WebhookPayload, "content" | "embeds" | "file" | "allowedMentions" | "tts" | "flags" | "components">;

//Application Commands
interface ApplicationCommandOptions {
Expand Down

0 comments on commit cbbbe04

Please sign in to comment.