public function setPrefixRequirement($requirePrefix = false)
    {
        if ($requirePrefix !== null && !is_bool($requirePrefix)) {
            throw new \Erebot\InvalidValueException(
                '$requirePrefix must be a boolean or null'
            );
        }

        $this->requirePrefix = $requirePrefix;
    }