Filters
D.BuyBot can automatically reply to specific words or phrases in your group chat, which can be very useful in various scenarios.
Adding Filter
Depending on your needs, D.BuyBot can reply to messages containing a specific word or phrase. The choice is yours.
Adding Single Word
To add a single-word filter, use the filter command, the word you want Bot to reply to, and the reply itself. The command is:
Example Usage:
If you want D.BuyBot to respond with "Hello there!" whenever someone types "hi", you would use the following command:
Adding A Multi-Word Filter
To have Bot reply to a specific phrase, replace the word with the phrase and enclose it in quotes. The command would look like this:
Let's do another example to illustrate this:
Replying To Users With Media
To have Bot reply with a sticker, photo, or other attachment, issue the filter command while replying to the attachment:
Fillings
It also supports to fill next placeholders in your reply:
{username}
- User's username{first}
- User's first name{last}
- User's last name{chatname}
- The name of the group chat{mention}
-@mentions
the user, using their first name
Last updated