vimcord 1.0.43 → 1.0.44
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.
- package/dist/index.cjs +3 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1787,7 +1787,7 @@ var VimcordErrorHandler = class {
|
|
|
1787
1787
|
var import_chalk2 = __toESM(require("chalk"));
|
|
1788
1788
|
|
|
1789
1789
|
// package.json
|
|
1790
|
-
var version = "1.0.
|
|
1790
|
+
var version = "1.0.44";
|
|
1791
1791
|
|
|
1792
1792
|
// src/client/vimcord.logger.ts
|
|
1793
1793
|
var clientLoggerFactory = (client) => new Logger({ prefixEmoji: "\u26A1", prefix: `vimcord (i${client.clientId})` }).extend({
|
|
@@ -2737,8 +2737,6 @@ var Vimcord = class _Vimcord extends import_discord11.Client {
|
|
|
2737
2737
|
this.status = new StatusManager(this);
|
|
2738
2738
|
this.events = new EventManager(this);
|
|
2739
2739
|
this.commands = new CommandManager(this);
|
|
2740
|
-
this.configure("app", this.config.app);
|
|
2741
|
-
this.logger.clientBanner(this);
|
|
2742
2740
|
this.once("clientReady", (client) => this.logger.clientReady(client.user.tag, client.guilds.cache.size));
|
|
2743
2741
|
_Vimcord.instances.set(this.clientId, this);
|
|
2744
2742
|
if (this.config.app.enableCLI) {
|
|
@@ -2882,6 +2880,7 @@ var Vimcord = class _Vimcord extends import_discord11.Client {
|
|
|
2882
2880
|
);
|
|
2883
2881
|
}
|
|
2884
2882
|
await this.build();
|
|
2883
|
+
this.logger.clientBanner(this);
|
|
2885
2884
|
try {
|
|
2886
2885
|
const stopLoader = this.logger.loader("Connecting to Discord...");
|
|
2887
2886
|
const loginResult = await import_qznt4.$.async.retry(() => super.login(token), {
|
|
@@ -2889,7 +2888,7 @@ var Vimcord = class _Vimcord extends import_discord11.Client {
|
|
|
2889
2888
|
delay: 1e3
|
|
2890
2889
|
});
|
|
2891
2890
|
stopLoader("Connected to Discord ");
|
|
2892
|
-
this
|
|
2891
|
+
this.logger.debug("Waiting for the client to be ready...");
|
|
2893
2892
|
if (typeof tokenOrPreHook === "function") {
|
|
2894
2893
|
await tokenOrPreHook(this);
|
|
2895
2894
|
} else {
|