fixed chat_member handler
This commit is contained in:
+1
-1
@@ -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(
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user