Censors

Understand the basic censors of SajuukBot and the individual configuration settings available.

SajuukBot will be ceasing operations on March 31st 2024, due to a variety of factors. For more information, please refer to the announcement provided on the SajuukBot discord server and your options for migrating to a new bot.

The censors module within SajuukBot provides you with some basic types of automoderation for the kinds of behaviour that are not overtly malicious but may simply be annoying. Perhaps you don't want your members to shout in ALL CAPS, or you have rules in place about specific language not being allowed.

With this module, you are able to manage those individual basic censors. Censors is compatible with the levels system, allowing you to set a base minimum level at the global level for all censors within the module for which a user is excluded, as well as a minimum level on specific censors where you might want less users excluded, eg a bad words filter.

Configuration

This section of configuration needs to be placed under the anti spam module as an indented element. Please see the full basic configuration for more details on how it should be formatted.

  censors:
    enabled: false
    shouting:
      enabled: false
      length: 10
    ascii:
      enabled: false
    zalgo:
      enabled: false
    tokens:
      enabled: false
      tokens:
    bad words:
      enabled: false
      words:
    invites:
      enabled: false
      codes:
    domains:
      enabled: false
      global opt-out: false
      blacklist:

Settings

Every section allows an optional level field to be defined. If it is included in the relevant sections, then the bot uses that level to determine if a user has been excluded.

Note that the bot always uses a more specific level definition over more general ones first, so if a level is defined under a specific censor (eg invites), that one will be used over any global setting (either within the censors block itself or within the anti spam block).

Core

Shouting

ASCII

The ASCII filter may have a tendency to filter legitimate messages using characters that belong in this range but which are not spam. A future update will provide options to control the character ranges which are NOT included in the filter.

Zalgo

Zalgo text spam is an issue that rarely appears on Discord servers. It remains for those edge cases where a server runs into issues with this specific type of spam.

Bad Words

This censor has been deprecated and will receive no further updates, beyond those needed to make it compatible with a wider bot change. Despite the deprecation, the feature remains in the bot for those who prefer to utilise bot-based word censoring functionality.

Invites

Domains

Last updated