Hierarchy (view full)

Implements

Constructors

Properties

application: Application
client: BaseClient<boolean>
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[];
      }
      • Optionaldescription?: string
      • Optionalend_message?: string
      • Optionallog_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

""