<?php

namespace xlvask\config;

use Exception;
use traits\module_config_variable;

class xlvask_openai_integration_enabled_c
{
    use module_config_variable;

    /**
     * @throws Exception
     */
    public function __construct()
    {
        self::setupConfigVariable(
            'xlvask',
            'openai_integration_enabled',
            'bool',
            true,
            null,
            'Whether XL Vask automation may ask OpenAI for attachment or creation suggestions.',
            '0',
            false,
            'false'
        );
    }
}
