fixed chat_member handler
This commit is contained in:
parent
562ba591d5
commit
7c8fc054e9
|
|
@ -32,7 +32,7 @@ export class ChannelBot {
|
||||||
process.once('SIGINT', () => this.bot.stop('SIGINT'));
|
process.once('SIGINT', () => this.bot.stop('SIGINT'));
|
||||||
process.once('SIGTERM', () => this.bot.stop('SIGTERM'));
|
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(
|
this.bot.launch(
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue