Did you mean pleasantry?
pleasantry
noun
°A playful remark; a jest.