We consider the t-hook functions on partitions f a,t : P → C defined bywhere H t (λ) is the multiset of partition hook numbers that are multiples of t. The Bloch-Okounkov q-brackets f a,t q include Eichler integrals of the classical Eisenstein series. For even a ≥ 2, we show that these q-brackets are natural pieces of weight 2 − a sesquiharmonic and harmonic Maass forms, while for odd a ≤ −1, we show that they are holomorphic quantum modular forms. We use these results to obtain new formulas of Chowla-Selberg type, and asymptotic expansions involving values of the Riemann zeta-function and Bernoulli numbers. We make use of work of Berndt, Han and Ji, and Zagier.f q := λ∈P f (λ)q |λ| λ∈P q |λ| ∈ C[[q]],