Skip to content

Commit

Permalink
types(InteractionResponseFields): add boolean properties (#7565)
Browse files Browse the repository at this point in the history
  • Loading branch information
muchnameless authored Mar 2, 2022
1 parent 8478d2f commit 53defb8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/discord.js/typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,9 @@ export type GuildCacheMessage<Cached extends CacheType> = CacheTypeReducer<
>;

export interface InteractionResponseFields<Cached extends CacheType = CacheType> {
deferred: boolean;
ephemeral: boolean | null;
replied: boolean;
reply(options: InteractionReplyOptions & { fetchReply: true }): Promise<GuildCacheMessage<Cached>>;
reply(options: string | MessagePayload | InteractionReplyOptions): Promise<void>;
deleteReply(): Promise<void>;
Expand Down

0 comments on commit 53defb8

Please sign in to comment.