types(InteractionResponseFields): add boolean properties (#7565)

This commit is contained in:
muchnameless
2022-03-02 10:41:56 +01:00
committed by GitHub
parent 8478d2f4de
commit 53defb82e3

View File

@@ -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>;