mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-24 15:04:38 +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>,
|
||||
metadata: any,
|
||||
) {
|
||||
// @ts-ignore
|
||||
telegraf.cashtag(metadata.triggers, instance[key].bind(instance));
|
||||
telegraf.action(metadata.triggers, instance[key].bind(instance));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user