🌊
Deluge.Cash Introduction
  • LOCKER
    • Locks
      • FlashLocks
      • Regular Locks
    • FlashBurns
    • Lock/Burn Approvals
  • TELEGRAM BOTS
    • D.BuyBot
      • Filters
    • D.RaidBot
      • Raids
    • D.TrendBot
    • D.PortalGuard
Powered by GitBook
On this page
  • Adding Filter
  • Replying To Users With Media
  • Fillings
  1. TELEGRAM BOTS
  2. D.BuyBot

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:

/filter <word> <reply>

Example Usage:

If you want D.BuyBot to respond with "Hello there!" whenever someone types "hi", you would use the following command:

/filter hi Hello there!

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:

/filter "<phrase>" <reply>

Let's do another example to illustrate this:

/filter "good morning" Good morning! How can I assist you today?

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:

/filter <word>
/filter "<phrase>"

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

PreviousD.BuyBotNextD.RaidBot

Last updated 1 year ago