Update: 2026-07-05 23:05:32

This commit is contained in:
Hamza-Ayed
2026-07-05 23:05:32 +03:00
parent 0a35509abd
commit c322e92913
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
// Handles rotation and selection of social media accounts
// ============================================================
require_once __DIR__ . '/../../core/bootstrap.php';
require_once __DIR__ . '/../core/bootstrap.php';
class AccountManager {
private $con;
@@ -4,8 +4,8 @@
// Connects to Gemini API to generate natural, driver-like comments
// ============================================================
require_once __DIR__ . '/../../core/bootstrap.php';
require_once __DIR__ . '/../../functions.php';
require_once __DIR__ . '/../core/bootstrap.php';
require_once __DIR__ . '/../functions.php';
// The API key should be stored in .env or the database. For now, reading from env.
$geminiApiKey = getenv('GEMINI_API_KEY');
@@ -4,7 +4,7 @@
// Creates and schedules tasks for the bots
// ============================================================
require_once __DIR__ . '/../../core/bootstrap.php';
require_once __DIR__ . '/../core/bootstrap.php';
require_once __DIR__ . '/gemini_comment_generator.php';
class ScheduleManager {
+2 -2
View File
@@ -4,8 +4,8 @@
// Endpoint for the Android Social Media Bot
// ============================================================
require_once __DIR__ . '/../../core/bootstrap.php';
require_once __DIR__ . '/../../functions.php';
require_once __DIR__ . '/../core/bootstrap.php';
require_once __DIR__ . '/../functions.php';
// Authentication and validation could be added here similar to driver_socket.php
// For now, let's keep it simple or use a static token for the bot
@@ -7,7 +7,7 @@
# dialogue scheduling.
# ==============================================================================
require_once __DIR__ . '/../../core/bootstrap.php';
require_once __DIR__ . '/../core/bootstrap.php';
require_once __DIR__ . '/schedule_manager.php';
require_once __DIR__ . '/account_manager.php';