Skip to content

Trigger Type: TEXT

Amy edited this page Dec 15, 2023 · 3 revisions

A TEXT type response is the most basic form of response. It will simply send a predefined message when the trigger is found.

Can use all Common Options

Example:

ExampleResponse:
  Type: TEXT
  Response: "This is the example response message!"
  Triggers:
  - "Helper bot test"
  - "Testing Helper Bot"
  Strict: false
  Reply: true
  Cooldown: 30

Fields

Text types can have any of the following fields but only the Response and at least 1 Trigger is required.

Response

The message the bot sends when triggered, supports all Placeholders.

ExampleResponse:
  Type: TEXT
  Response: "This is the example response message!"

Triggers

The message(s) a user can say to trigger the response.

ExampleResponse:
  Type: TEXT
  Response: "This is the example response message!"
  Triggers:
  - "This is a trigger"

Example

This example has all options set on it.

ExampleResponse:
  Type: TEXT
  Response: "This is the example response message!"
  Triggers:
  - "Helper bot test"
  - "Testing Helper Bot"
  Strict: false
  Reply: true
  Cooldown: 30
  Role: 695804381215588392
  MissingRole: 808547514533019679