import { forwardRef, Module } from '@nestjs/common';
import { AdminGuard } from '../admin/admin.guard.js';
import { ChatModule } from '../chat/chat.module.js';
import { CommandsModule } from '../commands/commands.module.js';
import { ReloadController } from './reload.controller.js';
import { ReloadService } from './reload.service.js';

@Module({
  imports: [forwardRef(() => CommandsModule), forwardRef(() => ChatModule)],
  controllers: [ReloadController],
  providers: [ReloadService, AdminGuard],
  exports: [ReloadService],
})
export class ReloadModule {}
