src/Plugin.php
private function genericParamValidation(Event $event)
    {
        $params = $event->getCustomParams();
        return (count($params) >= 1 && count($params) <= 2);
    }
private function genericParamValidation(Event $event)
    {
        $params = $event->getCustomParams();
        return (count($params) >= 1 && count($params) <= 2);
    }
Verify the combination of parameters are valid

@param \Phergie\Irc\Plugin\React\Command\CommandEvent $event
@return boolean