This feature will make the bot send an automatic response when a user writes a message that contains specific keywords or a command.
Let's see how it works:
First of all, we need to send the keyword that will allow the bot to identify the message of a user to whom we want to send an automatic response:
You can see here all the keyword recognition options.
Now that we have sent the word "modular" we can decide what action the bot will perform when it recognizes our keyword in a message from our users:
We can decide to filter the message, send an automatic reply or do both actions.
If we decide to send an automatic reply we can create an elaborate message to automatically send in response:
We can customize the message by adding media, buttons and text as shown in the image.
If we decide to filter the message these are the available options:
Filter | Description | Settings |
|---|---|---|
๐ State | Option to decide whether to activate the filter or not. | โ Active โ Turned off |
๐ท Ban | Option to decide whether or not to ban a user captured by the filter. | โ Yes โ No |
๐จ Action | Option to decide whether to block messages captured by the filter (block) or to continue receiving them in the spam Topic (filter). | โ Block ๐ฉ Filter |
๐ค Limitation | Option to decide whether to filter messages from all users or only those who write to you the first time. | โณ๏ธ All users ๐ New users |
As an administrator itโs not possible to try automatic replies youโve set: they will only work for non-administrator users.
1) By simply sending the keyword, the bot will only recognize it if separated by spaces within the message.
2) You can use the wildcard character (*), which indicates zero, one or more characters, excluding spaces.
3) You can use the wildcard character (+), which indicates one or more characters, excluding spaces.
4) You can use the wildcard character (?), which indicates zero or one characters, excluding spaces.
5) By using double quotes (Example: "modularbot"), the keyword will be recognized only if the user's message contains exactly that keyword and nothing else.
4) Using &&, the keyword will be recognized if the user's message contains all the indicated words but not necessarily consecutive and in the specified order. You can also specify more than 2 words together.
Examples of the numbers shown above can be found here:
Example Nr. | You set | The bot will recognize | The bot will not recognize |
|---|---|---|---|
1 |
| Welcome to modular | Welcome to modularbot |
2 |
| Welcome to modbot | Welcome to modular bot |
3 |
| Welcome to modbot | Welcome to mbot |
4 |
| Welcome to mobot | Welcome to modbot |
5 |
| modularbot | Welcome to modularbot |
6 |
| The modular is a nice bot! | The mod is a nice bot! |
If a message contains more than one keyword that you have set, the bot will consider the one with the most restrictive limitation (state Active > Turned off, block > filter).
With the same limitations, the bot will consider the first one you created.