protected function getChannels(UserEventInterface $event)
    {
        $command = $event->getCommand();
        if (isset($this->parameters[$command])) {
            $params = $event->getParams();
            $param = $this->parameters[$command];
            return preg_grep('/^[#&]/', explode(',', $params[$param]));
        }
        return array();
    }