Filters

The Filters module is great for everything! Filters are used to filter words or sentences in your chat – send notes, warn, or ban the sender!

Commands

  • /filter (trigger) (?sentence): Every time someone says “trigger”, the bot will reply with “sentence”. For multiple word filters, quote the trigger. Can also be used as a reply to a message to save the message as a filter.

  • /filterinfo (trigger): Get information about a filter.

  • /filters: List all active filters in the chat.

  • /delfilter (trigger): Stop the bot from replying to “trigger”.

  • /delallfilters: Stop ALL filters in the current chat. This cannot be undone.

Examples

  • Set a filter:

    /filter hello Hello there! How are you?

  • Set a filter which uses the user’s name through fillings:

    /filter hello Hello there {first}! How are you?

  • Set a filter on a sentence:

    /filter "hello friend" Hello back! Long time no see!

  • Set multiple filters at once by separating wrapping in brackets, and separating with commas:

    /filter (hi, hey, hello, "hi there") Hello back! Long time no see!

  • To get the unformatted version of a filter, to copy and edit it, simply say the trigger followed by the keyword “noformat”:

    trigger noformat

  • To save a “protected” filter, which cant be forwarded:

    /filter "example" This filter cant be forwarded {protect}

  • If you want the filter to reply to the person you replied to, instead of you:

    /filter "magic" Watch out for wizards! {replytag}

  • To save a file, image, gif, or any other attachment, simply reply to file with:

    /filter trigger

Formatting

Now that you know how to set filters, you can customise the contents of your message with contextual data. For example, you could mention a user by name in the message! Refer to the Formatting page for more information.