Skip to content

Commit

Permalink
fix(Typings): type attachments to InteractionUpdateOptions (#6162)
Browse files Browse the repository at this point in the history
* fix(Typings): type attachments with never

* Update typings/index.d.ts

Co-authored-by: DTrombett <73136330+DTrombett@users.noreply.github.com>

* chore(Typings): fix

* chore(Typings): add fetchReply

Co-authored-by: DTrombett <73136330+DTrombett@users.noreply.github.com>
  • Loading branch information
Milo123459 and DTrombett committed Jul 23, 2021
1 parent 690c121 commit 4f8ca29
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion typings/index.d.ts
Expand Up @@ -3699,7 +3699,9 @@ export type InteractionResponseType = keyof typeof InteractionResponseTypes;

export type InteractionType = keyof typeof InteractionTypes;

export type InteractionUpdateOptions = Omit<InteractionReplyOptions, 'ephemeral'>;
export interface InteractionUpdateOptions extends MessageEditOptions {
fetchReply?: boolean;
}

export type IntentsString =
| 'GUILDS'
Expand Down

0 comments on commit 4f8ca29

Please sign in to comment.