chrxmaticc-framework 1.0.3 → 1.1.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.
Files changed (2) hide show
  1. package/index.js +32 -10
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  /**
2
- * src/index.js
3
- * Main entry point — exports everything the user needs.
2
+ * index.js
3
+ * Main entry point — exports everything.
4
4
  */
5
5
 
6
- const { ChrxClient } = require("./core/Client");
7
- const Database = require("./core/Database");
8
- const XPSystem = require("./core/XPSystem");
9
- const AIWrapper = require("./core/AIWrapper");
10
- const MusicManager = require("./core/MusicManager");
6
+ const { ChrxClient } = require("./Client");
7
+ const Database = require("./Database");
8
+ const XPSystem = require("./XPSystem");
9
+ const AIWrapper = require("./AIWrapper");
10
+ const MusicManager = require("./MusicManager");
11
11
  const {
12
12
  parseTime,
13
13
  formatTime,
@@ -17,7 +17,18 @@ const {
17
17
  applyStartMarker,
18
18
  startEndMarkerWatcher,
19
19
  stopEndMarkerWatcher,
20
- } = require("./core/songMarkers");
20
+ } = require("./songMarkers");
21
+
22
+ // ── Plugins ───────────────────────────────────────────────────────────────
23
+ const Economy = require("./plugins/Economy");
24
+ const Moderation = require("./plugins/Moderation");
25
+ const Giveaways = require("./plugins/Giveaways");
26
+ const Tickets = require("./plugins/Tickets");
27
+ const Welcome = require("./plugins/Welcome");
28
+ const Polls = require("./plugins/Polls");
29
+ const Reminders = require("./plugins/Reminders");
30
+ const Starboard = require("./plugins/Starboard");
31
+ const AutoMod = require("./plugins/AutoMod");
21
32
 
22
33
  module.exports = {
23
34
  // Core
@@ -29,7 +40,7 @@ module.exports = {
29
40
  AIWrapper,
30
41
  MusicManager,
31
42
 
32
- // Song marker utilities (for advanced users)
43
+ // Song marker utilities
33
44
  parseTime,
34
45
  formatTime,
35
46
  setMarker,
@@ -38,4 +49,15 @@ module.exports = {
38
49
  applyStartMarker,
39
50
  startEndMarkerWatcher,
40
51
  stopEndMarkerWatcher,
41
- };
52
+
53
+ // Plugins
54
+ Economy,
55
+ Moderation,
56
+ Giveaways,
57
+ Tickets,
58
+ Welcome,
59
+ Polls,
60
+ Reminders,
61
+ Starboard,
62
+ AutoMod,
63
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chrxmaticc-framework",
3
- "version": "1.0.3",
3
+ "version": "1.1.0",
4
4
  "description": "A batteries-included Discord bot framework with music, AI, XP and database support.",
5
5
  "main": "index.js",
6
6
  "files": [