CIRCE / DOCUMENTATION
ModalContext
What a modal submit handler receives.
interface ModalContext {
readonly interaction: ModalSubmitInteraction;
readonly client: Client;
readonly guild: Guild | null;
readonly member: GuildMember | null;
readonly user: User;
readonly logger: Logger;
readonly correlationId: string | undefined;
readonly t: Translator;
}
Same fields as CommandContext with a ModalSubmitInteraction. There is no params. Read submitted values from interaction.fields. See Modals.
