You were trolling other users and being abusive to people; whether it was a joke or not is not important.

Terms such as "kys" are not things to fling around, regardless of how heated you are in the moment. Ban will be lifted, but take this as a stern warning.