Conor McGregor thanked the judge, his family and his fans, as he avoided a jail sentence after pleading guilty to disorderly conduct.