Hierarchy (View Summary, Expand)

Implements

Constructors

Properties

application: Application
client: BaseClient
logger: Logger
name: string

Returns the name of the function. Function names are read-only and can not be changed.

Methods

  • Parameters

    • customId: string
    • surveyConfig: {
          description?: string;
          end_message?: string;
          log_channel?: string;
          name: string;
          questions: [
              {
                  default_value?: string;
                  maxLength?: number;
                  minLength?: number;
                  placeholder?: string;
                  question: string;
                  required: boolean;
                  type: "paragraph"
                  | "short";
              },
              ...{
                  default_value?: string;
                  maxLength?: number;
                  minLength?: number;
                  placeholder?: string;
                  question: string;
                  required: boolean;
                  type: "paragraph"
                  | "short";
              }[],
          ];
          required_channels: string[];
          required_permissions: string[];
          required_roles: string[];
          required_users: string[];
      }

    Returns ModalBuilder

  • Parameters

    • interaction: ChatInputCommandInteraction<CacheType> | ButtonInteraction<CacheType>

    Returns Promise<void>

MMNEPVFCICPMFPCPTTAAATR