new InteractionModalContext
src/utils/modal/context.ts:19new InteractionModalContext(interaction: Interaction)Class Utils.InteractionModalContext from detritus-client.
import { Utils } from 'detritus-client';
Utils.InteractionModalContext;new InteractionModalContext(interaction: Interaction)createMessage(options?: string | ExecuteWebhook): Promise<Message | null>createResponse(
options: number | CreateInteractionResponse,
data?: string | CreateInteractionResponseInnerPayload,
): Promise<unknown>deleteMessage(messageId: string): Promise<any>deleteResponse(): Promise<any>editMessage(messageId: string, options?: EditWebhookTokenMessage): Promise<Message>editOrRespond(options?: string | InteractionEditOrRespond): Promise<unknown>editResponse(options?: EditWebhookTokenMessage): Promise<Message>fetchMessage(messageId: string): Promise<Message>fetchResponse(): Promise<Message>respond(
options: number | CreateInteractionResponse,
data?: string | CreateInteractionResponseInnerPayload,
): Promise<unknown>toJSON(): objecttoString(): string