vimcord 1.0.42 → 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 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.41";
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({
@@ -1849,15 +1849,6 @@ var clientLoggerFactory = (client) => new Logger({ prefixEmoji: "\u26A1", prefix
1849
1849
  import_chalk2.default.white(action),
1850
1850
  details ? import_chalk2.default.hex(this.colors.muted)(details) : ""
1851
1851
  );
1852
- },
1853
- database(action, details) {
1854
- console.log(
1855
- this.formatTimestamp(),
1856
- this.formatPrefix(),
1857
- import_chalk2.default.hex("#FF6B9D")("\u{1F5C4}\uFE0F DATABASE"),
1858
- import_chalk2.default.white(action),
1859
- details ? import_chalk2.default.hex(this.colors.muted)(details) : ""
1860
- );
1861
1852
  }
1862
1853
  });
1863
1854
 
@@ -2759,7 +2750,6 @@ var Vimcord = class _Vimcord extends import_discord11.Client {
2759
2750
  this.configure("slashCommands", this.config.slashCommands);
2760
2751
  this.configure("prefixCommands", this.config.prefixCommands);
2761
2752
  this.configure("contextCommands", this.config.contextCommands);
2762
- this.logger.clientBanner(this);
2763
2753
  if (this.features.importModules) {
2764
2754
  const importModules = this.features.importModules;
2765
2755
  await Promise.all([
@@ -2850,7 +2840,7 @@ var Vimcord = class _Vimcord extends import_discord11.Client {
2850
2840
  */
2851
2841
  async useDatabase(db) {
2852
2842
  this.db = db;
2853
- this.logger.database("Using", db.moduleName);
2843
+ this.logger.plugin("DATABASE", "Using", db.moduleName);
2854
2844
  return this.db.connect();
2855
2845
  }
2856
2846
  /**
@@ -2890,6 +2880,7 @@ var Vimcord = class _Vimcord extends import_discord11.Client {
2890
2880
  );
2891
2881
  }
2892
2882
  await this.build();
2883
+ this.logger.clientBanner(this);
2893
2884
  try {
2894
2885
  const stopLoader = this.logger.loader("Connecting to Discord...");
2895
2886
  const loginResult = await import_qznt4.$.async.retry(() => super.login(token), {
@@ -2897,7 +2888,7 @@ var Vimcord = class _Vimcord extends import_discord11.Client {
2897
2888
  delay: 1e3
2898
2889
  });
2899
2890
  stopLoader("Connected to Discord ");
2900
- this.$verboseMode && this.logger.debug("Waiting for ready...");
2891
+ this.logger.debug("Waiting for the client to be ready...");
2901
2892
  if (typeof tokenOrPreHook === "function") {
2902
2893
  await tokenOrPreHook(this);
2903
2894
  } else {