import { forwardRef, Module } from '@nestjs/common'; import { CommandsModule } from '../commands/commands.module.js'; import { ChatGateway } from './chat.gateway.js'; import { ChatController } from './chat.controller.js'; @Module({ imports: [forwardRef(() => CommandsModule)], controllers: [ChatController], providers: [ChatGateway], exports: [ChatGateway], }) export class ChatModule {}