15 lines
341 B
TypeScript
15 lines
341 B
TypeScript
|
|
import { Module } from '@nestjs/common';
|
||
|
|
import { BotService } from './bot.service';
|
||
|
|
import { ConfigModule } from '@nestjs/config';
|
||
|
|
import { ScheduleModule } from '@nestjs/schedule';
|
||
|
|
|
||
|
|
@Module({
|
||
|
|
imports: [
|
||
|
|
ConfigModule,
|
||
|
|
ScheduleModule.forRoot(),
|
||
|
|
],
|
||
|
|
providers: [BotService],
|
||
|
|
exports: [BotService],
|
||
|
|
})
|
||
|
|
export class BotModule {}
|