The question I have is why are you bothering with trying to access the other mod's slash command? All the slash commands do is store a function to the slash. It's an unnecessary step and as you can see is just causing more complications than it's worth. Just call the function and pass any arguments (if any) yourself.
Code:
<OnClick>modFunc(args);</OnClick>