feat: use native Matrix Power Level to control check-in immunity and cross-room syncing

1. Added RoomManagerBot for cross-room permission and leave syncing based on native power levels.
3. Added invite() to MatrixSession and added onMemberLeave/onPowerLevel hooks to Dispatcher.
4. Updated README and example configs.
This commit is contained in:
eskima committed 2026-06-08 02:49:08 +08:00
1 parent 440f572834
commit 0a3843630a
16 files changed
+257 -154

No files matched your search

+2
View File
@@ -4,6 +4,7 @@ import { DbModule } from './core/db/db.module';
import { MatrixModule } from './core/matrix/matrix.module';
import { BotModule } from './core/bot/bot.module';
import { CheckinModule } from './bots/checkin/checkin.module';
import { RoomManagerModule } from './bots/room-manager/room-manager.module';
@Module({
imports: [
@@ -13,6 +14,7 @@ import { CheckinModule } from './bots/checkin/checkin.module';
BotModule,
// —— 在此注册各房间机器人 feature module ——
CheckinModule,
RoomManagerModule,
],
})
export class AppModule {}