ποΈFilters
How it works?
You can find an explanation here.
Be sure to have read how to configure a character and how to configure a behavior before starting here.
List
This section lists all the types of filters that can be added to behaviors.
Every filters support the placeholders which can be used anywhere there is text.
Each filter contains a "reversed" option. Validate the filter only if the result is invalid. Usually, you will choose to set this option to "Disabled".
HAS_ROLE
Allows you to ignore members who do not have a specific role.
Settings
Name of setting | Description | Type of input |
---|---|---|
Roles | List of roles to filter. | Selecting from a defined list |
CHANNEL
Allows you to ignore channels other than the one selected.
π‘It is very common to add this filter so that a behavior is triggered only when the event is called in a specific channel.
Settings
Name of setting | Description | Type of input |
---|---|---|
Channel | The only authorized channel. | Selecting from a defined list |
MESSAGE_CONTAINS
Allows you to ignore messages that do not contain specific text.
π‘It is very common to add this filter so that a behavior is triggered only when something is mentioned in a message. For example the name of the character.
Settings
Name of setting | Description | Type of input |
---|---|---|
Content | The content that the message must contain. | Text |
Case-sensitive | Should case sensitivity be checked. | Enabled/Disabled |
MESSAGE_EQUALS
Allows you to ignore messages that are not exactly the one configured.
Settings
Name of setting | Description | Type of input |
---|---|---|
Content | The content that must fully correspond to the message. | Text |
Case-sensitive | Should case sensitivity be checked. | Enabled/Disabled |
MESSAGE_STARTS_WITH
Allows you to ignore messages that do not start with a particular text.
Settings
Name of setting | Description | Type of input |
---|---|---|
Content | The content with which the message must start. | Text |
Case-sensitive | Should case sensitivity be checked. | Enabled/Disabled |
MESSAGE_ENDS_WITH
Allows you to ignore messages that do not end with a particular text.
Settings
Name of setting | Description | Type of input |
---|---|---|
Content | The content with which the message must end | Text |
Case-sensitive | Should case sensitivity be checked. | Enabled/Disabled |
Last updated