public function channelGroupGetByName($name, $type = Teamspeak::GROUP_DBTYPE_REGULAR)
    {
        foreach ($this->channelGroupList() as $group) {
            if ($group["name"] == $name && $group["type"] == $type) {
                return $group;
            }
        }

        throw new Ts3Exception("invalid groupID", 0xA00);
    }