diff --git a/website/docs/extras/bot-injection.md b/website/docs/extras/bot-injection.md index ae868a9..3223d87 100644 --- a/website/docs/extras/bot-injection.md +++ b/website/docs/extras/bot-injection.md @@ -9,7 +9,7 @@ At times you may need to access the native `Telegraf` instance. You can inject t ```typescript {8} title="src/echo/echo.service.ts" import { Injectable } from '@nestjs/common'; -import { InjectBot } from 'nestjs-telegraf'; +import { InjectBot } from '@maks1ms/nestjs-telegraf'; import { Telegraf } from 'telegraf'; import { TelegrafContext } from '../common/interfaces/telegraf-context.interface.ts'; @@ -24,7 +24,7 @@ If you run [multiple bots](/extras/multiple-bots) in the same application, expli ```typescript {8} title="src/echo/echo.service.ts" import { Injectable } from '@nestjs/common'; -import { InjectBot } from 'nestjs-telegraf'; +import { InjectBot } from '@maks1ms/nestjs-telegraf'; import { Telegraf } from 'telegraf'; import { TelegrafContext } from '../common/interfaces/telegraf-context.interface.ts'; diff --git a/website/docs/extras/multiple-bots.md b/website/docs/extras/multiple-bots.md index 5347730..299eac4 100644 --- a/website/docs/extras/multiple-bots.md +++ b/website/docs/extras/multiple-bots.md @@ -9,7 +9,7 @@ In some cases, you may need to run multiple bots at the same time. This can also ```typescript import { Module } from '@nestjs/common'; import { ConfigModule } from '@nestjs/config'; -import { TelegrafModule } from 'nestjs-telegraf'; +import { TelegrafModule } from '@maks1ms/nestjs-telegraf'; @Module({ imports: [ @@ -42,7 +42,7 @@ Please note that you shouldn't have multiple bots without a name, or with the sa You can also inject the `Bot` for a given bot: ```typescript import { Injectable } from '@nestjs/common'; -import { InjectBot, Telegraf, Context } from 'nestjs-telegraf'; +import { InjectBot, Telegraf, Context } from @maks1ms/nestjs-telegraf'; @Injectable() export class EchoService { diff --git a/website/docs/getting-updates.md b/website/docs/getting-updates.md index a42d3fe..54bbedd 100644 --- a/website/docs/getting-updates.md +++ b/website/docs/getting-updates.md @@ -15,7 +15,7 @@ If you want to configure a telegram bot webhook, you need to get a middleware vi To access it, you must use the `app.get()` method, followed by the provider reference: ```typescript -import { getBotToken } from 'nestjs-telegraf'; +import { getBotToken } from '@maks1ms/nestjs-telegraf'; // ... const bot = app.get(getBotToken()); diff --git a/website/docs/telegraf-methods.md b/website/docs/telegraf-methods.md index a9bb1ac..a97789d 100644 --- a/website/docs/telegraf-methods.md +++ b/website/docs/telegraf-methods.md @@ -17,7 +17,7 @@ import { Help, On, Hears, -} from 'nestjs-telegraf'; +} from '@maks1ms/nestjs-telegraf'; import { TelegrafContext } from './common/interfaces/telegraf-context.interface.ts'; @Update() diff --git a/website/versioned_docs/version-2.6/extras/bot-injection.md b/website/versioned_docs/version-2.6/extras/bot-injection.md index ae868a9..3223d87 100644 --- a/website/versioned_docs/version-2.6/extras/bot-injection.md +++ b/website/versioned_docs/version-2.6/extras/bot-injection.md @@ -9,7 +9,7 @@ At times you may need to access the native `Telegraf` instance. You can inject t ```typescript {8} title="src/echo/echo.service.ts" import { Injectable } from '@nestjs/common'; -import { InjectBot } from 'nestjs-telegraf'; +import { InjectBot } from '@maks1ms/nestjs-telegraf'; import { Telegraf } from 'telegraf'; import { TelegrafContext } from '../common/interfaces/telegraf-context.interface.ts'; @@ -24,7 +24,7 @@ If you run [multiple bots](/extras/multiple-bots) in the same application, expli ```typescript {8} title="src/echo/echo.service.ts" import { Injectable } from '@nestjs/common'; -import { InjectBot } from 'nestjs-telegraf'; +import { InjectBot } from '@maks1ms/nestjs-telegraf'; import { Telegraf } from 'telegraf'; import { TelegrafContext } from '../common/interfaces/telegraf-context.interface.ts'; diff --git a/website/versioned_docs/version-2.6/extras/multiple-bots.md b/website/versioned_docs/version-2.6/extras/multiple-bots.md index 5347730..299eac4 100644 --- a/website/versioned_docs/version-2.6/extras/multiple-bots.md +++ b/website/versioned_docs/version-2.6/extras/multiple-bots.md @@ -9,7 +9,7 @@ In some cases, you may need to run multiple bots at the same time. This can also ```typescript import { Module } from '@nestjs/common'; import { ConfigModule } from '@nestjs/config'; -import { TelegrafModule } from 'nestjs-telegraf'; +import { TelegrafModule } from '@maks1ms/nestjs-telegraf'; @Module({ imports: [ @@ -42,7 +42,7 @@ Please note that you shouldn't have multiple bots without a name, or with the sa You can also inject the `Bot` for a given bot: ```typescript import { Injectable } from '@nestjs/common'; -import { InjectBot, Telegraf, Context } from 'nestjs-telegraf'; +import { InjectBot, Telegraf, Context } from @maks1ms/nestjs-telegraf'; @Injectable() export class EchoService { diff --git a/website/versioned_docs/version-2.6/getting-updates.md b/website/versioned_docs/version-2.6/getting-updates.md index a42d3fe..54bbedd 100644 --- a/website/versioned_docs/version-2.6/getting-updates.md +++ b/website/versioned_docs/version-2.6/getting-updates.md @@ -15,7 +15,7 @@ If you want to configure a telegram bot webhook, you need to get a middleware vi To access it, you must use the `app.get()` method, followed by the provider reference: ```typescript -import { getBotToken } from 'nestjs-telegraf'; +import { getBotToken } from '@maks1ms/nestjs-telegraf'; // ... const bot = app.get(getBotToken()); diff --git a/website/versioned_docs/version-2.6/telegraf-methods.md b/website/versioned_docs/version-2.6/telegraf-methods.md index a9bb1ac..a97789d 100644 --- a/website/versioned_docs/version-2.6/telegraf-methods.md +++ b/website/versioned_docs/version-2.6/telegraf-methods.md @@ -17,7 +17,7 @@ import { Help, On, Hears, -} from 'nestjs-telegraf'; +} from '@maks1ms/nestjs-telegraf'; import { TelegrafContext } from './common/interfaces/telegraf-context.interface.ts'; @Update()