djs-selfbot-v13 3.7.12 → 3.7.13

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
@@ -1,5 +1,3 @@
1
- > [!IMPORTANT]
2
- > **This project is a fork of the [discord.js-selfbot-v13](https://github.com/aiko-chan-ai/discord.js-selfbot-v13) archived project.**
3
1
 
4
2
  <div align="center">
5
3
  <br />
@@ -10,15 +8,18 @@
10
8
 
11
9
  ## About
12
10
 
13
- <strong>Welcome to `discord.js-selfbot-v13@v3.7`, based on `discord.js@13.17` and backport `discord.js@14.21.0`</strong>
11
+ <strong>Welcome to `djs-selfbot-v13@v3.7`, based on `discord.js@13.17` and backport `discord.js@14.21.0`</strong>
12
+
13
+ - djs-selfbot-v13 is a [Node.js](https://nodejs.org) module that allows user accounts to interact with the Discord API v9.
14
14
 
15
- - discord.js-selfbot-v13 is a [Node.js](https://nodejs.org) module that allows user accounts to interact with the Discord API v9.
15
+ > [!IMPORTANT]
16
+ > **This project is a fork of the [discord.js-selfbot-v13](https://github.com/aiko-chan-ai/discord.js-selfbot-v13) archived project.**
16
17
 
17
18
 
18
19
  <div align="center">
19
20
  <p>
20
- <a href="https://www.npmjs.com/package/discord.js-selfbot-v13"><img src="https://img.shields.io/npm/v/discord.js-selfbot-v13.svg" alt="npm version" /></a>
21
- <a href="https://www.npmjs.com/package/discord.js-selfbot-v13"><img src="https://img.shields.io/npm/dt/discord.js-selfbot-v13.svg" alt="npm downloads" /></a>
21
+ <a href="https://www.npmjs.com/package/djs-selfbot-v13"><img src="https://img.shields.io/npm/v/djs-selfbot-v13.svg" alt="npm version" /></a>
22
+ <a href="https://www.npmjs.com/package/djs-selfbot-v13"><img src="https://img.shields.io/npm/dt/djs-selfbot-v13.svg" alt="npm downloads" /></a>
22
23
  <a href="https://github.com/002-sans/djs-selfbot-v13/actions"><img src="https://github.com/002-sans/djs-selfbot-v13/actions/workflows/lint.yml/badge.svg" alt="Tests status" /></a>
23
24
  </p>
24
25
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "djs-selfbot-v13",
3
- "version": "3.7.12",
3
+ "version": "3.7.13",
4
4
  "description": "An unofficial discord.js fork for creating selfbots",
5
5
  "main": "./src/index.js",
6
6
  "types": "./typings/index.d.ts",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "repository": {
31
31
  "type": "git",
32
- "url": "git+https://github.com/aiko-chan-ai/djs-selfbot-v13.git"
32
+ "url": "git+https://github.com/002-sans/djs-selfbot-v13.git"
33
33
  },
34
34
  "keywords": [
35
35
  "discord.js",
@@ -47,9 +47,9 @@
47
47
  "author": "aiko-chan-ai",
48
48
  "license": "GNU General Public License v3.0",
49
49
  "bugs": {
50
- "url": "https://github.com/aiko-chan-ai/djs-selfbot-v13/issues"
50
+ "url": "https://github.com/002-sans/djs-selfbot-v13/issues"
51
51
  },
52
- "homepage": "https://github.com/aiko-chan-ai/djs-selfbot-v13#readme",
52
+ "homepage": "https://djs-selfbot.vercel.app/",
53
53
  "dependencies": {
54
54
  "@discordjs/builders": "^1.6.3",
55
55
  "@discordjs/collection": "^2.1.1",
@@ -248,6 +248,11 @@ class QuestManager extends BaseManager {
248
248
  * @returns {Promise<void>}
249
249
  */
250
250
  async doingQuest(quest) {
251
+ // Ensure quest is a proper Quest instance
252
+ if (!(quest instanceof Quest)) {
253
+ quest = new Quest(quest);
254
+ }
255
+
251
256
  const questName = quest.config.messages?.quest_name || 'Unknown Quest';
252
257
 
253
258
  if (!quest.isEnrolledQuest())
@@ -334,7 +339,8 @@ class QuestManager extends BaseManager {
334
339
 
335
340
  /**
336
341
  * Get cache size
337
- * @returns {number}
342
+ * @type {number}
343
+ * @readonly
338
344
  */
339
345
  get size() {
340
346
  return this.cache.size;