Update: 2026-07-05 23:05:32
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
// Handles rotation and selection of social media accounts
|
// Handles rotation and selection of social media accounts
|
||||||
// ============================================================
|
// ============================================================
|
||||||
|
|
||||||
require_once __DIR__ . '/../../core/bootstrap.php';
|
require_once __DIR__ . '/../core/bootstrap.php';
|
||||||
|
|
||||||
class AccountManager {
|
class AccountManager {
|
||||||
private $con;
|
private $con;
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
// Connects to Gemini API to generate natural, driver-like comments
|
// Connects to Gemini API to generate natural, driver-like comments
|
||||||
// ============================================================
|
// ============================================================
|
||||||
|
|
||||||
require_once __DIR__ . '/../../core/bootstrap.php';
|
require_once __DIR__ . '/../core/bootstrap.php';
|
||||||
require_once __DIR__ . '/../../functions.php';
|
require_once __DIR__ . '/../functions.php';
|
||||||
|
|
||||||
// The API key should be stored in .env or the database. For now, reading from env.
|
// The API key should be stored in .env or the database. For now, reading from env.
|
||||||
$geminiApiKey = getenv('GEMINI_API_KEY');
|
$geminiApiKey = getenv('GEMINI_API_KEY');
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
// Creates and schedules tasks for the bots
|
// 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';
|
require_once __DIR__ . '/gemini_comment_generator.php';
|
||||||
|
|
||||||
class ScheduleManager {
|
class ScheduleManager {
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
// Endpoint for the Android Social Media Bot
|
// Endpoint for the Android Social Media Bot
|
||||||
// ============================================================
|
// ============================================================
|
||||||
|
|
||||||
require_once __DIR__ . '/../../core/bootstrap.php';
|
require_once __DIR__ . '/../core/bootstrap.php';
|
||||||
require_once __DIR__ . '/../../functions.php';
|
require_once __DIR__ . '/../functions.php';
|
||||||
|
|
||||||
// Authentication and validation could be added here similar to driver_socket.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
|
// For now, let's keep it simple or use a static token for the bot
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
# dialogue scheduling.
|
# dialogue scheduling.
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
||||||
require_once __DIR__ . '/../../core/bootstrap.php';
|
require_once __DIR__ . '/../core/bootstrap.php';
|
||||||
require_once __DIR__ . '/schedule_manager.php';
|
require_once __DIR__ . '/schedule_manager.php';
|
||||||
require_once __DIR__ . '/account_manager.php';
|
require_once __DIR__ . '/account_manager.php';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user