You need to parse from the “non standard” IRC message sent as WHISPER as apposed to PRIVMSG. Using IRC vernacular, the command is WHISPER instead of PRIVMSG.
And have logged into chat using an oAuth that grants whisper reading, so scope whispers:read