If H is a Hopf algebra with bijective antipode and α, β ∈ Aut Hopf (H), we introduce a category H YD H (α, β), generalizing both Yetter-Drinfeld modules and anti-Yetter-Drinfeld modules. We construct a braided T-category YD(H) having all the categories H YD H (α, β) as components, which if H is finite dimensional coincides with the representations of a certain quasitriangular T-coalgebra DT (H) that we construct. We also prove that if (α, β) admits a so-called pair in involution, then H YD H (α, β) is isomorphic to the category of usual YetterDrinfeld modules H YD H .