Skip to content

Commit

Permalink
types: Add properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Mar 6, 2022
1 parent 8050512 commit 7c1d17c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,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 7c1d17c

Please sign in to comment.