Text this: A Generalization of $p$-Adic Factorial