feat: integrate message capture into bot startup

- Register message capture handlers on bot ready
- Export getDatabase function from muxer-queue
- Initialize database schema for messages and attachments
This commit is contained in:
MythEclipse
2026-05-13 19:34:15 +07:00
parent b13dfb2ece
commit 738f5cfbd6
2 changed files with 7 additions and 8 deletions
+2
View File
@@ -55,6 +55,8 @@ function getDatabase(): Database.Database {
return db;
}
export { getDatabase };
export async function enqueueMuxerJob(data: MuxerJobData): Promise<string> {
try {
const database = getDatabase();