Filters
Table of Contents
About Filters:
Filters are a quick and easy way to reply to your user's questions instantly - by adding trigger words to your group's NinjAi database.
They can be both super-helpful and super-entertaining depending on each individual group's use case.
For example, setting "Marco" as a trigger word and "Polo" as a response, or replying to a user with a link to your project's website whenever a user makes any mention of a website in their message.
Of course - we don't stop there. As a crypto group optimised bot, setting "ca", "contract" or "contract address" triggers and setting the auto-reply to your projects contract address will tie that verified contract address to your group database - instantly muting and alerting admins to any potential scammers whenever someone posts a contract address or ETH wallet address that does not match the verified address in the database.
Filter Guide:
Add a single group filter
Let's say that we want to reply to a user that says "hello" with the word "world" - as this is a simple one word trigger and response, it can be achieved by setting it up like so:
/filter hello world
That interaction would look like this in your chat:
And now, whenever a user types the word "hello" in your chat, NinjAi will respond with "world" like this:
But what if we want to get more creative?