its a bot for self moderated threads
If that is so, then this doesn't really make sense:
- variable ban time, 1 day, 1 week, 1 month, permanent etc.
i) choice between choosing ban length or "three strikes your out" system.
As a started of a self-moderated thread, you can delete any posts that you want in it, but you can't ban people from it. Technically you could "ban" them by constantly deleting their posts for X amount of time, but that is different from an actual ban.
so what is considered spamming would be up to the thread moderators.
Determining what spam exactly is tends to be quite hard at times (even for humans). How exactly would your bot know whether this very post is on-topic or isn't?