This commit is contained in:
eskima committed 2026-06-04 15:45:20 +08:00
commit 440f572834
53 files changed
+12776

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
import { SetMetadata } from '@nestjs/common';
/** 标记一个 provider 为 RoomBot,供 BotRegistry 通过 DiscoveryService 发现。 */
export const IS_ROOM_BOT = 'daily-bot:is-room-bot';
export const RegisterBot = (): ClassDecorator => SetMetadata(IS_ROOM_BOT, true);