minor chat_member bot handler fix
This commit is contained in:
parent
7c8fc054e9
commit
21589dad60
|
|
@ -32,8 +32,8 @@ export class ChannelBot {
|
|||
process.once('SIGINT', () => this.bot.stop('SIGINT'));
|
||||
process.once('SIGTERM', () => this.bot.stop('SIGTERM'));
|
||||
|
||||
this.bot.on('chat_member', (ctx) => this.handleChatMemberUpdate(ctx));
|
||||
|
||||
this.bot.on('chat_member', this.handleChatMemberUpdate.bind(this));
|
||||
|
||||
this.bot.launch(
|
||||
{
|
||||
allowedUpdates: [
|
||||
|
|
|
|||
Loading…
Reference in New Issue