vimcord 1.0.39 → 1.0.41
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 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -2197,7 +2197,7 @@ declare class Vimcord<Ready extends boolean = boolean> extends Client<Ready> {
|
|
|
2197
2197
|
*/
|
|
2198
2198
|
configure<T extends keyof VimcordConfig>(type: T, options?: PartialDeep<VimcordConfig[T]>): this;
|
|
2199
2199
|
/** Builds the client by importing modules and registering builtin handlers. */
|
|
2200
|
-
build
|
|
2200
|
+
private build;
|
|
2201
2201
|
/**
|
|
2202
2202
|
* Imports modules into the client.
|
|
2203
2203
|
* @param type The type of modules to import.
|
package/dist/index.d.ts
CHANGED
|
@@ -2197,7 +2197,7 @@ declare class Vimcord<Ready extends boolean = boolean> extends Client<Ready> {
|
|
|
2197
2197
|
*/
|
|
2198
2198
|
configure<T extends keyof VimcordConfig>(type: T, options?: PartialDeep<VimcordConfig[T]>): this;
|
|
2199
2199
|
/** Builds the client by importing modules and registering builtin handlers. */
|
|
2200
|
-
build
|
|
2200
|
+
private build;
|
|
2201
2201
|
/**
|
|
2202
2202
|
* Imports modules into the client.
|
|
2203
2203
|
* @param type The type of modules to import.
|
package/dist/index.js
CHANGED
|
@@ -1693,7 +1693,7 @@ var VimcordErrorHandler = class {
|
|
|
1693
1693
|
import chalk2 from "chalk";
|
|
1694
1694
|
|
|
1695
1695
|
// package.json
|
|
1696
|
-
var version = "1.0.
|
|
1696
|
+
var version = "1.0.40";
|
|
1697
1697
|
|
|
1698
1698
|
// src/client/vimcord.logger.ts
|
|
1699
1699
|
var clientLoggerFactory = (client) => new Logger({ prefixEmoji: "\u26A1", prefix: `vimcord (i${client.clientId})` }).extend({
|
|
@@ -1704,7 +1704,7 @@ var clientLoggerFactory = (client) => new Logger({ prefixEmoji: "\u26A1", prefix
|
|
|
1704
1704
|
\u2554${border}\u2557`));
|
|
1705
1705
|
console.log(
|
|
1706
1706
|
chalk2.hex(this.colors.primary)("\u2551") + chalk2.bold.hex(this.colors.text)(
|
|
1707
|
-
` \u{1F680} ${client2
|
|
1707
|
+
` \u{1F680} ${client2.$name} v${client2.$version}`.padEnd(50 - (client2.$devMode ? 12 : 0))
|
|
1708
1708
|
) + chalk2.hex(this.colors.primary)(`${client2.$devMode ? chalk2.hex(this.colors.warn)("devMode \u26A0\uFE0F ") : ""}\u2551`)
|
|
1709
1709
|
);
|
|
1710
1710
|
console.log(chalk2.hex(this.colors.primary)(`\u2551${"".padEnd(50)}\u2551`));
|
|
@@ -2643,7 +2643,6 @@ var Vimcord = class _Vimcord extends Client2 {
|
|
|
2643
2643
|
this.status = new StatusManager(this);
|
|
2644
2644
|
this.events = new EventManager(this);
|
|
2645
2645
|
this.commands = new CommandManager(this);
|
|
2646
|
-
this.logger.clientBanner(this);
|
|
2647
2646
|
this.once("clientReady", (client) => this.logger.clientReady(client.user.tag, client.guilds.cache.size));
|
|
2648
2647
|
_Vimcord.instances.set(this.clientId, this);
|
|
2649
2648
|
if (this.config.app.enableCLI) {
|
|
@@ -2787,6 +2786,7 @@ var Vimcord = class _Vimcord extends Client2 {
|
|
|
2787
2786
|
);
|
|
2788
2787
|
}
|
|
2789
2788
|
await this.build();
|
|
2789
|
+
this.logger.clientBanner(this);
|
|
2790
2790
|
try {
|
|
2791
2791
|
const stopLoader = this.logger.loader("Connecting to Discord...");
|
|
2792
2792
|
const loginResult = await $4.async.retry(() => super.login(token), {
|