mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-01-13 23:51:05 +03:00
16 lines
449 B
TypeScript
16 lines
449 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TelegrafModule } from '../lib';
|
|
import { EchoService } from './echo.service';
|
|
import { AppUpdate } from './app.update';
|
|
import { HelloScene } from './scenes/hello.scene';
|
|
|
|
@Module({
|
|
imports: [
|
|
TelegrafModule.forRoot({
|
|
token: '1467731595:AAHCvH65H9VQYKF9jE-E8c2rXsQBVAYseg8', // Don't steal >:(
|
|
}),
|
|
],
|
|
providers: [EchoService, AppUpdate, HelloScene],
|
|
})
|
|
export class AppModule {}
|