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:
@@ -55,6 +55,8 @@ function getDatabase(): Database.Database {
|
||||
return db;
|
||||
}
|
||||
|
||||
export { getDatabase };
|
||||
|
||||
export async function enqueueMuxerJob(data: MuxerJobData): Promise<string> {
|
||||
try {
|
||||
const database = getDatabase();
|
||||
|
||||
Reference in New Issue
Block a user