fixed chat_member handler

This commit is contained in:
Anton 2024-02-03 09:48:05 +03:00
parent 562ba591d5
commit 7c8fc054e9
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ export class ChannelBot {
process.once('SIGINT', () => this.bot.stop('SIGINT'));
process.once('SIGTERM', () => this.bot.stop('SIGTERM'));
this.bot.on('chat_member', this.handleChatMemberUpdate.bind(this));
this.bot.on('chat_member', (ctx) => this.handleChatMemberUpdate(ctx));
this.bot.launch(
{