Add PRIVMSG based operations to library