feat: implement reminder command with Appwrite integration and polling mechanism
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user