feat: implement reminder command with Appwrite integration and polling mechanism

This commit is contained in:
2025-09-28 01:00:43 -05:00
parent 57d4d28cb9
commit 916b85acb4
8 changed files with 303 additions and 4 deletions

View File

@@ -6,6 +6,7 @@ import { registeringCommands } from "./core/api/discordAPI";
import {loadComponents} from "./core/lib/components";
import { startMemoryMonitor } from "./core/memory/memoryMonitor";
import {memoryOptimizer} from "./core/memory/memoryOptimizer";
import { startReminderPoller } from "./core/api/reminders";
// Activar monitor de memoria si se define la variable
const __memInt = parseInt(process.env.MEMORY_LOG_INTERVAL_SECONDS || '0', 10);
@@ -178,6 +179,9 @@ async function bootstrap() {
}
});
// Iniciar poller de recordatorios si Appwrite está configurado
startReminderPoller(bot);
console.log("✅ Bot conectado a Discord");
}