Configuration
Configuration file: modules/grammar.yml
General
modules:
# Automatically formats chat messages by fixing spacing, capitalization, and punctuation
#
# Grammar module loaded from modules/grammar.yml
grammar: truemodules.grammar: Enable/disable the full module
Module
Trim Spaces
# Collapses multiple consecutive spaces into a single one and trims
# leading/trailing whitespace from the message.
trim-spaces:
enabled: trueCollapses multiple consecutive spaces into a single space and removes leading/trailing whitespace.
Capitalization
Capitalizes the first letters of the message.
Sentence Case
Capitalizes the first letter after a sentence-ending punctuation mark (., ! or ?) followed by a space.
Final Dot
Appends a character to the end of the message if it does not already end with one of the ignored endings.
Last updated