From 1629441276d60a39b85af86ab894ec1b95a8e705 Mon Sep 17 00:00:00 2001 From: Roj Date: Fri, 12 Apr 2024 11:05:36 +0300 Subject: [PATCH] Make init function public --- client/client.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/client.ts b/client/client.ts index 5b80d30..ed75a92 100644 --- a/client/client.ts +++ b/client/client.ts @@ -92,7 +92,7 @@ export class Client extends Composer { } } #inited = false; - async #init() { + async init() { if (this.#inited) { return; } @@ -612,7 +612,7 @@ export class Client extends Composer { #running = false; async start() { - this.#init(); + this.init(); this.#running = true; const retryIn = 5; while (this.#running) {