Taking a dig at someone means to mock them or make a sarcastic comment about them. However, there are several synonyms you can use instead of this phrase. One option is "taking a jab at," which implies a quick and playful insult. Another synonym for "taking a dig at" is "throwing shade," which has become popular slang in recent years. This phrase means to subtly criticize someone or give them a backhanded compliment. Another alternative is "poking fun at," which conveys a more lighthearted tone. Finally, you could use "ribbing" to indicate gentle teasing or playful mockery of someone.