social
DiscordSource code
  • Welcome
  • 🐾Getting Started
    • Quickstart
    • Integrations
    • FAQ
  • 🔧Administration
    • Commands
    • Making your own custom reactions
    • Making your own custom emojis
    • Setting up server links
    • Setting up chat filters
    • Setting up announcements
  • ☕Development
    • Using the API
Powered by GitBook
On this page
  • Filtering by literals
  • Filtering by regex
  1. Administration

Setting up chat filters

PreviousSetting up server linksNextSetting up announcements

Last updated 5 months ago

Chat filters are a powerful tool to censor words, IPs or URLs:

Despite its name, chat filters do work in anvils, books and signs too.

Filtering by literals

    filter:
        ...
        literalFilter:
        - i hope you step on a lego

This will censor the phrase "i hope you step on a lego". Literal filters are case insensitive.

Filtering by regex

Users can also filter with their own RegEx rules. Here's an example:

    filter:
        ...
        customRegexFilter:
        - ^dog

This will censor every word starting with "dog".

🔧