Best method for listening to channels?

Pubsub is for listening to specific events (ie, Cheers, Subs, Commerce, and Whispers), not general chat. Your best option is to use an IRC library, there’s several designed specifically for Twitch for a variety of languages, and just listening to chat seeing if the messages contain your command.