Constructor. Only kept as a compatibility measure to ensure word always has a value. Remove later.
Constructor.
Returns a JSONSchema representing this Counter.
Resets empty patterns with their default strings.
JSON schema for (de-)serialisation.
Current count.
The pattern to use when formatting confirmations of counter assignments; e.g. "$word count was reset to $count!"
The pattern to use when formatting confirmations of counter decrements; e.g. "$word count was decreased by -$step and is now $count!".
The pattern to use when formatting confirmations of counter increments; e.g. "$word count was increased by +$step and is now $count!".
The pattern to use when formatting answers to counter queries; e.g. "The current $word count is currently $count.".
Counter word.
Embodiment of a counter. Literally just a number with some ancillary metadata.