fix(decorators): TelegrafAction method call

This commit is contained in:
Aleksandr Bukhalo 2020-03-19 17:20:59 +03:00
parent 511f9ebd77
commit 76e0eee3ad

View File

@ -214,7 +214,6 @@ export class TelegrafExplorer implements OnModuleInit {
telegraf: Telegraf<ContextMessageUpdate>, telegraf: Telegraf<ContextMessageUpdate>,
metadata: any, metadata: any,
) { ) {
// @ts-ignore telegraf.action(metadata.triggers, instance[key].bind(instance));
telegraf.cashtag(metadata.triggers, instance[key].bind(instance));
} }
} }