diskernel 0.1.22 → 0.1.23
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/core/client.d.ts +1 -1
- package/dist/core/client.d.ts.map +1 -1
- package/dist/core/client.js +1 -1
- package/dist/core/command.d.ts +1 -1
- package/dist/core/command.d.ts.map +1 -1
- package/dist/core/command.js +2 -2
- package/dist/core/config.d.ts +1 -1
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/config.js +1 -1
- package/dist/core/error.d.ts +1 -1
- package/dist/core/error.d.ts.map +1 -1
- package/dist/core/error.js +1 -1
- package/dist/core/event.d.ts +1 -1
- package/dist/core/event.d.ts.map +1 -1
- package/dist/core/event.js +1 -1
- package/dist/core/logger.d.ts +1 -1
- package/dist/core/logger.d.ts.map +1 -1
- package/dist/core/logger.js +1 -1
- package/dist/types/config.js +1 -1
- package/package.json +1 -1
package/dist/core/client.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/core/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAMpC,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/core/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAMpC,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAWjD,qBAAa,IAAK,SAAQ,IAAI;IAC5B,OAAO,CAAC,MAAM,CAAC,MAAM,CAAiC;IAEtD,WAAkB,MAAM,IAAI,MAAM,GAAG,SAAS,CAM7C;WAEmB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;WAoD5B,IAAI,IAAI,IAAI;CAS3B"}
|
package/dist/core/client.js
CHANGED
|
@@ -4,7 +4,7 @@ import { getCustomCoreLogger, Log } from "./logger.js";
|
|
|
4
4
|
import { ErrorHandler } from "./error.js";
|
|
5
5
|
import { Command } from "./command.js";
|
|
6
6
|
import { Event } from "./event.js";
|
|
7
|
-
import { Core as core } from "
|
|
7
|
+
import { Core as core } from "../types/index.js";
|
|
8
8
|
class DiskernelError extends Error {
|
|
9
9
|
constructor(message, options) {
|
|
10
10
|
super(message, options);
|
package/dist/core/command.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../src/core/command.ts"],"names":[],"mappings":"AAqBA,OAAO,EAML,OAAO,IAAI,OAAO,EAGnB,MAAM,
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../src/core/command.ts"],"names":[],"mappings":"AAqBA,OAAO,EAML,OAAO,IAAI,OAAO,EAGnB,MAAM,mBAAmB,CAAC;AAI3B,qBAAa,OAAQ,SAAQ,OAAO;IAClC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAS;IAC/B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAqB;IAC5C,OAAO,CAAC,MAAM,CAAC,OAAO,CAA0D;IAChF,OAAO,CAAC,MAAM,CAAC,WAAW,CAIjB;IACT,OAAO,CAAC,MAAM,CAAC,QAAQ,CAGnB;WAEgB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;mBAiC1B,kBAAkB;IAsGvC,OAAO,CAAC,MAAM,CAAC,mBAAmB;IA0DlC,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAcjC,OAAO,CAAC,MAAM,CAAC,aAAa;mBAgEP,mBAAmB;mBAqBnB,gBAAgB;IAoCrC,OAAO,CAAC,MAAM,CAAC,gBAAgB;IAkC/B,OAAO,CAAC,MAAM,CAAC,sBAAsB;IA4BrC,OAAO,CAAC,MAAM,CAAC,gBAAgB;mBA4BV,oBAAoB;mBA4BpB,qBAAqB;mBA0BrB,eAAe;mBA4Bf,cAAc;CAmHpC"}
|
package/dist/core/command.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import fs from "fs";
|
|
2
2
|
import path from "path";
|
|
3
|
-
import { ApplicationCommandType, AutocompleteInteraction, ButtonInteraction, ChatInputCommandInteraction,
|
|
3
|
+
import { ApplicationCommandType, AutocompleteInteraction, ButtonInteraction, ChatInputCommandInteraction, ContextMenuCommandBuilder, EmbedBuilder, ModalSubmitInteraction, SlashCommandBuilder, SlashCommandSubcommandBuilder, StringSelectMenuInteraction, } from "discord.js";
|
|
4
4
|
import { Core } from "./client.js";
|
|
5
5
|
import { Config } from "./config.js";
|
|
6
6
|
import { getCustomCoreLogger } from "./logger.js";
|
|
7
|
-
import { SlashCommandT, Command as command, BaseAction, BaseCommand } from "
|
|
7
|
+
import { SlashCommandT, Command as command, BaseAction, BaseCommand } from "../types/index.js";
|
|
8
8
|
const Logger = getCustomCoreLogger("commands");
|
|
9
9
|
export class Command extends command {
|
|
10
10
|
static client;
|
package/dist/core/config.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/core/config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,OAAO,EAAe,MAAM,IAAI,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/core/config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,OAAO,EAAe,MAAM,IAAI,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAUhF,qBAAa,MAAO,SAAQ,MAAM;IAChC,SAAS,CAAC,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC;IAEnC,OAAO,CAAC,MAAM,CAAC,cAAc;gBA2EjB,MAAM,EAAE,OAAO;WAUb,GAAG,CAAC,CAAC,SAAS,MAAM,OAAO,EAAE,GAAG,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;WAShD,aAAa,IAAI,OAAO;CAGvC"}
|
package/dist/core/config.js
CHANGED
package/dist/core/error.d.ts
CHANGED
package/dist/core/error.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/core/error.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,IAAI,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/core/error.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,IAAI,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAIjE,qBAAa,YAAa,SAAQ,YAAY;IAW5C,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAOhC,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAMjC,OAAO,CAAC,MAAM,CAAC,eAAe;WAehB,KAAK,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI;CAM1D"}
|
package/dist/core/error.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Core } from "./client.js";
|
|
2
2
|
import { getCustomCoreLogger } from "./logger.js";
|
|
3
|
-
import { ErrorHandler as errorhandler } from "
|
|
3
|
+
import { ErrorHandler as errorhandler } from "../types/index.js";
|
|
4
4
|
const Logger = getCustomCoreLogger("errorHandler");
|
|
5
5
|
export class ErrorHandler extends errorhandler {
|
|
6
6
|
static {
|
package/dist/core/event.d.ts
CHANGED
package/dist/core/event.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../src/core/event.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAgB,MAAM,YAAY,CAAC;AAEvD,OAAO,EAAE,KAAK,IAAI,KAAK,EAAe,MAAM,
|
|
1
|
+
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../src/core/event.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAgB,MAAM,YAAY,CAAC;AAEvD,OAAO,EAAE,KAAK,IAAI,KAAK,EAAe,MAAM,mBAAmB,CAAC;AAMhE,qBAAa,KAAM,SAAQ,KAAK;IAC9B,OAAO,CAAC,MAAM,CAAC,MAAM,CAAgB;WAEjB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;mBAKvC,gBAAgB;IA2CrC,OAAO,CAAC,MAAM,CAAC,cAAc;CAiB9B"}
|
package/dist/core/event.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import path from "path";
|
|
2
2
|
import fs from "fs";
|
|
3
3
|
import { getCustomCoreLogger } from "./logger.js";
|
|
4
|
-
import { Event as event } from "
|
|
4
|
+
import { Event as event } from "../types/index.js";
|
|
5
5
|
const Logger = getCustomCoreLogger("events");
|
|
6
6
|
export class Event extends event {
|
|
7
7
|
static events = [];
|
package/dist/core/logger.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getLogger, type Logger as LoggerT } from "@logtape/logtape";
|
|
2
|
-
import { Log as log, type Logging } from "
|
|
2
|
+
import { Log as log, type Logging } from "../types/index.js";
|
|
3
3
|
export declare class Log extends log {
|
|
4
4
|
private static isInitalized;
|
|
5
5
|
static readonly LOGGER_READY: symbol;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/core/logger.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,SAAS,EACT,KAAK,MAAM,IAAI,OAAO,EACvB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAU,GAAG,IAAI,GAAG,EAAE,KAAK,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/core/logger.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,SAAS,EACT,KAAK,MAAM,IAAI,OAAO,EACvB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAU,GAAG,IAAI,GAAG,EAAE,KAAK,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAErE,qBAAa,GAAI,SAAQ,GAAG;IAC1B,OAAO,CAAC,MAAM,CAAC,YAAY,CAAkB;IAC7C,gBAAuB,YAAY,EAAE,MAAM,CAAwC;IACnF,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAgB;IAEtC,OAAO,CAAC,MAAM,CAAC,uBAAuB;WAQlB,mBAAmB,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAqEzE,WAAkB,GAAG,IAAI,UAAU,CAAC,OAAO,SAAS,CAAC,CAEpD;WAGa,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;WAItC,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;WAInB,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;CAG/C;AAED,eAAO,MAAM,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,OAEjD,CAAC;AACF,eAAO,MAAM,UAAU,EAAE,OAAkC,CAAC;AAC5D,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,WAE9D"}
|
package/dist/core/logger.js
CHANGED
|
@@ -2,7 +2,7 @@ import fs from "fs";
|
|
|
2
2
|
import path from "path";
|
|
3
3
|
import { configure, getConsoleSink, getAnsiColorFormatter, getLogger, } from "@logtape/logtape";
|
|
4
4
|
import { getRotatingFileSink } from "@logtape/file";
|
|
5
|
-
import { Config, Log as log } from "
|
|
5
|
+
import { Config, Log as log } from "../types/index.js";
|
|
6
6
|
export class Log extends log {
|
|
7
7
|
static isInitalized = false;
|
|
8
8
|
static LOGGER_READY = Symbol.for("diskernel.logger.ready");
|
package/dist/types/config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|