mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
types(InteractionResponseFields): add boolean properties (#7565)
This commit is contained in:
3
packages/discord.js/typings/index.d.ts
vendored
3
packages/discord.js/typings/index.d.ts
vendored
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user