๐Ÿค– ModularBot Guide
โžก๏ธGetting Started
โš™๏ธBot Settings
๐Ÿ”คAutomatic replies

๐Ÿ”ค Automatic replies

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.


Automatic reply

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.

Filter

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.

How keyword recognition works

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

modular

Welcome to modular

Welcome to modularbot

2

m(*)bot

Welcome to modbot

Welcome to modular bot

3

m(+)bot

Welcome to modbot

Welcome to mbot

4

m(?)bot

Welcome to mobot

Welcome to modbot

5

"modularbot"

modularbot

Welcome to modularbot

6

bot && modular

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.