The only reason why you didn't get banned at the time is because no was available to ban.
The ban was certainly necessary since the jokes you were making were not appropriate.
You will be unbanned in 5 days.