@t2000/cli 0.18.7 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -25467,10 +25467,11 @@ var TelegramChannel = class {
|
|
|
25467
25467
|
this.setupHandlers();
|
|
25468
25468
|
}
|
|
25469
25469
|
async start() {
|
|
25470
|
-
|
|
25471
|
-
|
|
25472
|
-
|
|
25473
|
-
|
|
25470
|
+
return new Promise((resolve2) => {
|
|
25471
|
+
this.bot.start({
|
|
25472
|
+
onStart: () => resolve2(),
|
|
25473
|
+
drop_pending_updates: true
|
|
25474
|
+
});
|
|
25474
25475
|
});
|
|
25475
25476
|
}
|
|
25476
25477
|
async stop() {
|
|
@@ -26967,6 +26968,7 @@ var Gateway = class _Gateway {
|
|
|
26967
26968
|
}
|
|
26968
26969
|
});
|
|
26969
26970
|
const attemptConnect = async () => {
|
|
26971
|
+
this.logger.info("Connecting to Telegram...");
|
|
26970
26972
|
try {
|
|
26971
26973
|
await telegram.start();
|
|
26972
26974
|
this.channels.push(telegram);
|
|
@@ -27107,4 +27109,4 @@ humanize-ms/index.js:
|
|
|
27107
27109
|
* MIT Licensed
|
|
27108
27110
|
*)
|
|
27109
27111
|
*/
|
|
27110
|
-
//# sourceMappingURL=dist-
|
|
27112
|
+
//# sourceMappingURL=dist-UYIQ42TA.js.map
|