For the complete documentation index, see llms.txt. This page is also available as Markdown.

Configuration

Configuration file: modules/anticap.yml

General

modules:
  # It lets censor, block, or convert words to
  # lowercase when they're typed in all caps
  #
  # Anti cap module loaded from modules/anticap.yml
  anti-cap: true
  • modules.anti-cap: Enable/disable the module


Module

Action

# Action to take when a message exceeds the cap threshold:
# - ToLowerCase : convert all uppercase letters to lowercase (recommended)
# - BLOCK : cancel the message entirely
# - CENSOR : replace uppercase letters with '*' (or the selected censor-char)
action: "ToLowerCase"
  • ToLowerCase: Converts all to lowercase; "HELLO" -> "hello".

  • BLOCK: Cancels the message.

  • CENSOR: Replace the uppercase letters with the 'censor-char' character.

Censor-char

  • The censor character for the 'CENSOR' action.

Last updated