merge refactor/v2

This commit is contained in:
Morb0
2021-01-06 17:28:46 +03:00
9 changed files with 57 additions and 35 deletions

View File

@@ -1,5 +1,5 @@
import { Inject } from '@nestjs/common';
import { getBotToken } from '../../utils';
export const InjectBot = (name?: string): ParameterDecorator =>
Inject(getBotToken(name));
export const InjectBot = (botName?: string): ParameterDecorator =>
Inject(getBotToken(botName));