Privleges and botlib code