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

    • trigger: {
          action: "assign_role" | "take_away_role";
          enabled_channels: string[] | "all";
          ignore_roles: string[];
          ignore_users: string[];
          must_contain: string[];
          must_not_contain: string[];
          roles: string[];
          type: "member_status_update";
      }
    • __namedParameters: TriggerHandlerContext<false>

    Returns Promise<void>

  • Parameters

    • trigger: {
          buttons: { label: string; url: string }[];
          enabled_channels: string[] | "all";
          ignore_roles: string[];
          ignore_users: string[];
          message: string;
          type: "sticky_message";
      }
    • __namedParameters: TriggerHandlerContext<true>

    Returns void

MMNEPVFCICPMFPCPTTAAATR