Hmm the docs say you only need Tags capability.
But everything I’ve ever done using USERNOTICE I’ve requested the commands cap too.
So not sure if it’s a bug or not, but then I don’t consume USERNOTICE anymore I’m pure Pubsub.
So add the commands cap and see if it works for you?
If could also be a problem with your IRC parser, has it been modified to handle IRCv3 data properly (but yes I do see you are interrogating RAW)?