mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-10-09 06:37:15 +03:00
fix(): missing decorators & refactor
This commit is contained in:
@@ -16,18 +16,15 @@ import {
|
||||
import { TELEGRAF_MODULE_OPTIONS } from './telegraf.constants';
|
||||
import {
|
||||
MetadataAccessorService,
|
||||
ScenesExplorerService,
|
||||
UpdatesExplorerService,
|
||||
ListenersExplorerService,
|
||||
} from './services';
|
||||
import { getBotToken } from './utils';
|
||||
import { createBotFactory } from './utils/create-bot-factory.util';
|
||||
import { getBotToken, createBotFactory } from './utils';
|
||||
|
||||
@Global()
|
||||
@Module({
|
||||
imports: [DiscoveryModule],
|
||||
providers: [
|
||||
UpdatesExplorerService,
|
||||
ScenesExplorerService,
|
||||
ListenersExplorerService,
|
||||
MetadataAccessorService,
|
||||
],
|
||||
})
|
||||
|
Reference in New Issue
Block a user