Honeypot channels
A trap channel no real member would post in, so anything that writes there gets the punishment you picked.
What it does
A honeypot is a channel that real members have no reason to post in. The first message there fires the rule. Spam bots and raid scripts post in every channel they can find, so they trip it without being told where it is. Bots and Nighthawk itself are skipped.
Set one up
Create an automod rule, add the Honeypot channel trigger and pick one or more trap channels. A rule with no channel can never fire. Then choose the actions: delete the message, mute, kick or ban. A bot can only post in a channel it can see and write in, so do not lock the trap against everyone. Keep it visible, put it somewhere a person would not look, and say so in its name.
Warn real people
Add the Send message to channel action so the channel tells humans not to post. Nighthawk posts the message when you save the rule and edits the same message when you change the text, so it never posts twice. The text accepts {guildName}, {ruleName} and {channel}.
Staff and exemptions
The rule is an ordinary automod rule, so a staff member who posts in the trap by mistake is punished like anyone else. Exempt your staff with the Permission groups condition or the automod_exempt_groups setting. Every catch lands in your automod log with the message that triggered it.