From 114d0a9cda03281a694cae8cf7b48df49e2c84e6 Mon Sep 17 00:00:00 2001 From: "Micael Levi L. Cavalcante" Date: Tue, 24 May 2022 06:10:04 -0400 Subject: [PATCH] docs: clarify that `AppUpdate` is a provider (#806) --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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