vimcord 1.0.42 → 1.0.43

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.42";
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
 
@@ -2746,6 +2737,8 @@ var Vimcord = class _Vimcord extends import_discord11.Client {
2746
2737
  this.status = new StatusManager(this);
2747
2738
  this.events = new EventManager(this);
2748
2739
  this.commands = new CommandManager(this);
2740
+ this.configure("app", this.config.app);
2741
+ this.logger.clientBanner(this);
2749
2742
  this.once("clientReady", (client) => this.logger.clientReady(client.user.tag, client.guilds.cache.size));
2750
2743
  _Vimcord.instances.set(this.clientId, this);
2751
2744
  if (this.config.app.enableCLI) {
@@ -2759,7 +2752,6 @@ var Vimcord = class _Vimcord extends import_discord11.Client {
2759
2752
  this.configure("slashCommands", this.config.slashCommands);
2760
2753
  this.configure("prefixCommands", this.config.prefixCommands);
2761
2754
  this.configure("contextCommands", this.config.contextCommands);
2762
- this.logger.clientBanner(this);
2763
2755
  if (this.features.importModules) {
2764
2756
  const importModules = this.features.importModules;
2765
2757
  await Promise.all([
@@ -2850,7 +2842,7 @@ var Vimcord = class _Vimcord extends import_discord11.Client {
2850
2842
  */
2851
2843
  async useDatabase(db) {
2852
2844
  this.db = db;
2853
- this.logger.database("Using", db.moduleName);
2845
+ this.logger.plugin("DATABASE", "Using", db.moduleName);
2854
2846
  return this.db.connect();
2855
2847
  }
2856
2848
  /**