We do not condone nor support such jokes, no matter if with friend or not. However since it was a mistake on your part and you didn't mean any harm, then we'll give you another chance. Do note that, if you're making such jokes again, then we're not going to be as forgiving.
Appeal accepted.