mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-24 23:14:39 +03:00
fix(decorators): TelegrafAction method call
This commit is contained in:
parent
511f9ebd77
commit
76e0eee3ad
@ -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));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user