Australian spinner Steve O’Keefe has been fined $20,000 for making inappropriate comments while drunk at a function. O’Keefe has also been excluded from playing in the one-day domestic competition at the end of the year, Cricket Australia said in a statement on Friday.

It’s not the first time the Test player has misbehaved under the influence of alcohol, having been fined $10,000 for offensive conduct at a Sydney pub last in August last year.

Cricket Australia confirmed on Friday that O’Keefe had been sanctioned for a level two offence under Cricket Australia’s Code of Conduct, after being involved in an incident at a Cricket NSW function where he made “highly inappropriate comments whilst under the influence of alcohol”.

In addition to the fine, which was increased on account of the incident being O’Keefe’s second offence in the last 18 months, Cricket NSW elected to exclude O’Keefe from the 2017 Matador Cup competition. Cricket Australia said the spinner will also undergo “further appropriate counselling”.

“Stephen has not upheld the standards expected of a NSW and Australian cricketer in the aftermath of the India tour where he proudly represented his state and country,” Cricket NSW CEO Andrew Jones said on Friday. “As this is his second recent offence we believe a strong penalty is appropriate. At Cricket NSW, we want all our people to achieve their potential on and off the field and Stephen needs to refocus himself on that task.”

Cricket Australia’s executive general team manager Pat Howard also released a statement condemning O’Keefe’s indiscretion. “There is no time or place for unacceptable behaviour from any of our players in Australian Cricket, and we continue to take a zero-tolerance approach to this,” Howard said.

“We’re extremely disappointed this situation occurred, particularly on the back of a previous incident, and it now overshadows Stephen’s on field performance on the recent tour of India.”

O’Keefe apologised for his behaviour, offering no excuse and accepting his punishment. “At an official Cricket NSW function I became intoxicated and made highly inappropriate comments. There is no excuse for this and I take full responsibility and offer an unconditional apology,” O’Keefe said in a statement.

“I accept the sanctions imposed by Cricket Australia and Cricket NSW and welcome the chance to receive specialist counselling. I have a big challenge ahead and I am determined to meet it with actions, not just words. To all of the members of the cricket family I love and respect so much, again, apologies for letting you down.”

O’Keefe was one Australia’s best bowlers during the four-Test series against India, from which the left-arm tweaker has recently returned. He took 19 wickets at an average of 23.26. O’Keefe has played eight Tests since making his debut in 2014.