@open-discord-bots/framework 0.1.0 → 0.1.2

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.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export { loadDumpCommand } from "./startup/dump";
2
2
  export { loadAllPlugins } from "./startup/pluginLauncher";
3
3
  export { frameworkStartup } from "./startup/compilation";
4
+ export { loadErrorHandling } from "./startup/errorHandling";
package/dist/index.js CHANGED
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.frameworkStartup = exports.loadAllPlugins = exports.loadDumpCommand = void 0;
3
+ exports.loadErrorHandling = exports.frameworkStartup = exports.loadAllPlugins = exports.loadDumpCommand = void 0;
4
4
  var dump_1 = require("./startup/dump");
5
5
  Object.defineProperty(exports, "loadDumpCommand", { enumerable: true, get: function () { return dump_1.loadDumpCommand; } });
6
6
  var pluginLauncher_1 = require("./startup/pluginLauncher");
7
7
  Object.defineProperty(exports, "loadAllPlugins", { enumerable: true, get: function () { return pluginLauncher_1.loadAllPlugins; } });
8
8
  var compilation_1 = require("./startup/compilation");
9
9
  Object.defineProperty(exports, "frameworkStartup", { enumerable: true, get: function () { return compilation_1.frameworkStartup; } });
10
+ var errorHandling_1 = require("./startup/errorHandling");
11
+ Object.defineProperty(exports, "loadErrorHandling", { enumerable: true, get: function () { return errorHandling_1.loadErrorHandling; } });
10
12
  const compilation_2 = require("./startup/compilation");
11
13
  //check directory structure
12
14
  (0, compilation_2.checkFrameworkAllowed)();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@open-discord-bots/framework",
3
3
  "author": "DJj123dj",
4
- "version": "0.1.0",
4
+ "version": "0.1.2",
5
5
  "description": "The core framework of the popular open-source discord bots: Open Ticket & Open Moderation.",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
package/src/index.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export { loadDumpCommand } from "./startup/dump"
2
2
  export { loadAllPlugins } from "./startup/pluginLauncher"
3
3
  export { frameworkStartup } from "./startup/compilation"
4
+ export { loadErrorHandling } from "./startup/errorHandling"
4
5
  import { checkFrameworkAllowed } from "./startup/compilation"
5
6
 
6
7
  //check directory structure