Implementation here https://github.com/cobratbq/irc-api/tree/ircv3 , probably just needs to be adapted to use the rewritten internals.