He was found to have brought the Senedd into disrepute with posts made on social media