Skip to content
Arraying edited this page Jul 19, 2020 · 1 revision

Tags

Tags are auto-responses that get triggered when a certain message is sent. A tag consists of two components: the trigger and the message. The trigger is a regular expression, the message is just a regular string.

Example

Using a tag with the trigger hello and message world:

Image

Command

The tag command has the following required subcommands:

  • &tag activate "<regex>"
  • &tag create "<regex>" "<message>"
  • &tag delete "<regex>"
  • &tag disabled [page]
  • &tag find "<query>"
  • &tag list [page]

activate

Restricted to Moderators.

Toggles if the tag corresponding to the trigger is enabled. Please note that the trigger needs to be quoted. If disabled, the tag will show in &tag disabled and not get triggered.

create

Restricted to Moderators.

Creates a tag with the specified trigger and message. Please note that this needs to be quoted.

delete

Restricted to Moderators.

Deletes the tag with the specified trigger. Please note that the trigger needs to be quoted.

disabled

Lists all disabled tags as a paginated result. The optional argument specifies the page number.

find

Finds all tags where the trigger contains the specified query. Please note that the query needs to be quoted, but is not a regular expression.

list

Lists all available tags as a paginated result. The optional argument specifies the page number.

Clone this wiki locally