Skip to content

Commit

Permalink
chore:add connect event
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed Sep 4, 2024
1 parent a2decc8 commit 98d3b8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/workflow-functions/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export class MtProtoSingleton {
MtProtoSingleton.instance = new MtProtoSingleton();
MtProtoSingleton.api = Api;
MtProtoSingleton.client = await mtProtoInit(env, MtProtoSingleton.api);
await MtProtoSingleton.client.connect();
}
return MtProtoSingleton.instance;
}
Expand Down

0 comments on commit 98d3b8d

Please sign in to comment.