Profanity in Ban/timeout reason

You can programmatically store count of bans, it’s will pretty easy for you.
Just increase that number on each ban, and take that number from db when you do timeout.