apexify.js 2.3.9 → 2.4.0

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/README.md CHANGED
@@ -262,7 +262,7 @@ module.exports = {
262
262
  - Note: ** This system uses mongoDb as database you need to ensure connection is made before using it**. You can make your own connection to mongodb or use mongoConnect funciton which is exported from apexify.js.
263
263
 
264
264
  ```js
265
- const LevelingSystem = require('apexify.js');
265
+ const { LevelingSystem } = require('apexify.js');
266
266
  const level_system = new LevelingSystem({
267
267
  XpCount: 15, // Each message is equalt to how many xp (1 message = 15xp)
268
268
  rate: 2, // Rate message multiplier 1 message * 2 so 30xp per each msg
package/index.js CHANGED
@@ -97,6 +97,7 @@ axios_1
97
97
  Object.defineProperty(exports, "whiteList", { enumerable: true, get: function () { return utils_1.whiteList; } });
98
98
  Object.defineProperty(exports, "cooldown", { enumerable: true, get: function () { return utils_1.cooldown; } });
99
99
  Object.defineProperty(exports, "ButtonManager", { enumerable: true, get: function () { return utils_1.ButtonManager; } });
100
+ Object.defineProperty(exports, "LevelingSystem", { enumerable: true, get: function () { return utils_1.LevelingSystem; } });
100
101
  Object.defineProperty(exports, "SelectMenuManager", { enumerable: true, get: function () { return utils_1.SelectMenuManager; } });
101
102
  Object.defineProperty(exports, "Paginator", { enumerable: true, get: function () { return utils_1.Paginator; } });
102
103
  Object.defineProperty(exports, "PermissionChecker", { enumerable: true, get: function () { return utils_1.PermissionChecker; } });
@@ -106,6 +107,4 @@ axios_1
106
107
  Object.defineProperty(exports, "resumeCommand", { enumerable: true, get: function () { return utils_1.resumeCommand; } });
107
108
  Object.defineProperty(exports, "previousCommand", { enumerable: true, get: function () { return utils_1.previousCommand; } });
108
109
  Object.defineProperty(exports, "starter", { enumerable: true, get: function () { return utils_1.starter; } });
109
- Object.defineProperty(exports, "typeWriter", { enumerable: true, get: function () { return utils_1.typeWriter; } });
110
- const LevelingSystem = require('./lib/discord/discord-build/levelingSystem/cLevel');
111
- module.exports = LevelingSystem
110
+ Object.defineProperty(exports, "typeWriter", { enumerable: true, get: function () { return utils_1.typeWriter; } });