Skip to content

Commit

Permalink
fix(discord): import GamesModule (#1225)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrappachc authored Sep 14, 2021
1 parent 2480908 commit dea1f3a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/plugins/discord/discord.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ import { forwardRef, Global, Module } from '@nestjs/common';
import { DiscordService } from './services/discord.service';
import { QueuePromptsService } from './services/queue-prompts.service';
import { AdminNotificationsService } from './services/admin-notifications.service';
import { GamesModule } from '@/games/games.module';

@Global()
@Module({
imports: [forwardRef(() => QueueModule), forwardRef(() => PlayersModule)],
imports: [
forwardRef(() => QueueModule),
forwardRef(() => PlayersModule),
GamesModule,
],
providers: [DiscordService, QueuePromptsService, AdminNotificationsService],
exports: [DiscordService],
})
Expand Down

0 comments on commit dea1f3a

Please sign in to comment.