The bankrupt YouTuber also agreed to refrain from saying anything disparaging about Cardi or her family