<?php
namespace AI_BotKit\Core;

/**
 * Fired during plugin activation
 */
class Activator {
    /**
     * Activate the plugin
     */
    public static function activate() {
        global $wpdb;

        $is_first_install = get_option( 'ai_botkit_setup_completed' );
		if ( ! $is_first_install ) {
			set_transient( '_ai_botkit_activation_redirect', 1, 30 );
		}

        
        // Set plugin version
        update_option('ai_botkit_version', AI_BOTKIT_VERSION);

    }
} 