diff --git a/README.md b/README.md index 51d954c..e41f70a 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,8 @@ import { TelegrafModule } from 'nestjs-telegraf'; imports: [ TelegrafModule.forRoot({ token: 'TELEGRAM_BOT_TOKEN', - }) + }), + providers: [AppUpdate], ], }) export class AppModule {} @@ -96,4 +97,4 @@ export class EchoService { ... } ``` -See more on a docs page: https://nestjs-telegraf.vercel.app/extras/bot-injection \ No newline at end of file +See more on a docs page: https://nestjs-telegraf.vercel.app/extras/bot-injection