From 76e0eee3adc92f8da6685a6e452dab86739b7b49 Mon Sep 17 00:00:00 2001 From: Aleksandr Bukhalo Date: Thu, 19 Mar 2020 17:20:59 +0300 Subject: [PATCH] fix(decorators): TelegrafAction method call --- lib/telegraf.explorer.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/telegraf.explorer.ts b/lib/telegraf.explorer.ts index 635a69c..830cc9c 100644 --- a/lib/telegraf.explorer.ts +++ b/lib/telegraf.explorer.ts @@ -214,7 +214,6 @@ export class TelegrafExplorer implements OnModuleInit { telegraf: Telegraf, metadata: any, ) { - // @ts-ignore - telegraf.cashtag(metadata.triggers, instance[key].bind(instance)); + telegraf.action(metadata.triggers, instance[key].bind(instance)); } }