How can I check if a user has moderator privileges in a channel?

Wow, I misread that. My bad for making an assumption. Guess I need some more sleep. He even italicized it. “they’re not in the chat room”