Использование регулярки из свойства
This commit is contained in:
parent
726596ce12
commit
a4724069c1
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ export class CurrentIssuesEccmBotHandlerService
|
||||||
if (!this.service) {
|
if (!this.service) {
|
||||||
this.service = service;
|
this.service = service;
|
||||||
}
|
}
|
||||||
bot.onText(/\/current_issues_eccm/, async (msg) => {
|
bot.onText(this.forCurrentUser, async (msg) => {
|
||||||
const userMetaInfo = await this.userMetaInfoService.findByTelegramId(
|
const userMetaInfo = await this.userMetaInfoService.findByTelegramId(
|
||||||
msg.chat.id,
|
msg.chat.id,
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue