Skip to content

Filters Commands

Filters are case insensitive; every time someone says your trigger words, Alita will reply something else! This can be used to create your commands, if desired.

Commands:

  • /filter : Every time someone says trigger, the bot will reply with sentence. For multiple word filters, quote the trigger.
  • /filters: List all chat filters.
  • /stop : Stop the bot from replying to trigger.
  • /stopall: Stop ALL filters in the current chat. This action cannot be undone.

Examples:

  • Set a filter: -> /filter hello Hello there! How are you?
  • Set a multiword filter: -> /filter hello friend Hello back! Long time no see!
  • Set a filter that can only be used by admins: -> /filter example This filter won’t happen if a normal user says it {admin}
  • To save a file, image, gif, or any other attachment, simply reply to the file with: -> /filter trigger

Advanced Features:

Random Responses: Use %%% to separate multiple responses. One will be picked randomly: /filter hello Hi there!%%%Hello!%%%Hey, how are you?

Media Filters: Reply to any media (photo, video, document, sticker, etc.) with /filter trigger to create a filter that sends that media.

Noformat Mode: Admins can view the raw filter content (including formatting codes) by adding noformat after the trigger: hello noformat This is useful for debugging filters or seeing button configurations.

Filter Buttons: You can add inline buttons to your filters: /filter hello Hello! Check out these links: [Button 1](buttonurl:https://example.com) [Button 2](buttonurl:https://example2.com)

This module can be accessed using the following aliases:

  • filter
CommandDescriptionDisableable
/addfilterNo description available
/filterEvery time someone says trigger, the bot will reply with sentence. For multiple word filters, quote the trigger.
/filtersList all chat filters.
/removefilterNo description available
/rmfilterNo description available
/stopStop the bot from replying to trigger.
/stopallStop ALL filters in the current chat. This action cannot be undone.
/addfilter
/filter
/filters

For detailed command usage, refer to the commands table above.

Commands in this module are available to all users unless otherwise specified.