mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-24 15:04:38 +03:00
Update telegraf-all-bots.provider.ts
This commit is contained in:
parent
92ff5164a6
commit
295ca4ffdc
@ -4,8 +4,6 @@ import { TELEGRAF_ALL_BOTS } from './telegraf.constants';
|
|||||||
|
|
||||||
export const allBotsMap = new Map<string, Telegraf<any>>();
|
export const allBotsMap = new Map<string, Telegraf<any>>();
|
||||||
|
|
||||||
setTimeout(() => console.log(allBotsMap), 2000);
|
|
||||||
|
|
||||||
export const telegrafAllBotsProvider: Provider = {
|
export const telegrafAllBotsProvider: Provider = {
|
||||||
provide: TELEGRAF_ALL_BOTS,
|
provide: TELEGRAF_ALL_BOTS,
|
||||||
useValue: allBotsMap,
|
useValue: allBotsMap,
|
||||||
|
Loading…
Reference in New Issue
Block a user