Anti-spam watches how members post, not what they say. Ten rules each have their own threshold and action: message floods, repeated messages, mass mentions, @everyone attempts, capital letters, emoji, line breaks, attachment, link and sticker floods. Every rule is counted per server and per member, so activity in another server never counts here. When a rule fires, the message is handled by the action set for that rule and a case records what happened.
Example
/setup › Settings › Browse all settings › Anti-spam