types(InteractionResponseFields): add webhook (#7597)

This commit is contained in:
muchnameless
2022-03-24 20:58:39 +01:00
committed by GitHub
parent 98177aa38d
commit daf2829cb5

View File

@@ -363,6 +363,7 @@ export interface InteractionResponseFields<Cached extends CacheType = CacheType>
deferred: boolean;
ephemeral: boolean | null;
replied: boolean;
webhook: InteractionWebhook;
reply(options: InteractionReplyOptions & { fetchReply: true }): Promise<GuildCacheMessage<Cached>>;
reply(options: string | MessagePayload | InteractionReplyOptions): Promise<void>;
deleteReply(): Promise<void>;