The bot is not perfect. It’s simply there to pick up the slack if moderators are not online.
Furthermore, it doesn’t have the capability to tell if a user needs help and to not ban them if they swear.
If the bot does ban a user who swears and needs help, moderators should unban the user that was banned.
In a way this is a good thing as it removes the swear message from the chat. They just need to be unbanned and told that swearing is not acceptable.
I hope everyone understands the reason the bot is here, and I hope everyone can appreciate that it does make the chat a better place.