djs-builder 0.6.20 → 0.6.21

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.
@@ -29,7 +29,7 @@ async function starter(client, options) {
29
29
 
30
30
  //////////////////////////////////////////* status set !////////////////////////////////////////////////////////
31
31
  client.login(token);
32
- client.once("ready", () => {
32
+ client.once("clientReady", () => {
33
33
  if (Status) {
34
34
  const activities = Array.isArray(Status.activities)
35
35
  ? Status.activities
@@ -323,7 +323,7 @@ async function starter(client, options) {
323
323
  await set_anticrash(anticrash);
324
324
  }
325
325
 
326
- client.once("ready", async () => {
326
+ client.once("clientReady", async () => {
327
327
  if (ownerId) client.owner = await client.users.fetch(ownerId);
328
328
  if (client.slashData?.length) {
329
329
  await client.application.commands.set(client.slashData);
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
-
2
1
  {
3
2
  "name": "djs-builder",
4
- "version": "0.6.20",
5
- "description": "šŸŽ‰ Package Update! šŸ„\n- Add option `disabled` to the selectMenu options \nNew features added:\n- `GetUser`: Easily fetch a user from **ID**, **mention**, or even from a **reply**.\n\nšŸ›  Fixes:\n- Minor bugs fixed\n- Improved stability and error handling\n\nšŸ”— Learn more on [NPM](https://www.npmjs.com/package/djs-builder)",
3
+ "version": "0.6.21",
4
+ "description": "šŸŽ‰ Package Update! šŸ„\n- Add option `disabled` to the selectMenu options \nNew features added:\n- `GetUser`: Easily fetch a user from **ID**, **mention**, or even from a **reply**.\n\nšŸ›  Fixes:\n- Minor bugs fixed\n- Improved stability and error handling\n\nšŸ”— Learn more on [NPM](https://www.npmjs.com/package/djs-builder)",
6
5
  "main": "handler/starter.js",
7
6
  "dependencies": {
8
7
  "axios": "^1.11.0",
@@ -10,6 +9,6 @@
10
9
  "cli-table3": "^0.6.5",
11
10
  "discord-inviter": "^0.9.3",
12
11
  "discord.js": "^14.21.0",
13
- "mongoose": "^8.17.0"
12
+ "mongoose": "^8.18.0"
14
13
  }
15
14
  }